hashID()

Creates a string representation of an ID (non-negative integer) based on the given hash value and alphabet.

This function is valid in v2.9.0 to v2.23.0. This function has been downloaded 32 times.

Parameters

{number} intID
Non-negative integer that will be turned into a string.
{number=} opt_intHash Optional
Non-negative integer that will be used to offset the characters used to represent intID.
{string=} opt_strAlpha Optional, Default:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
All of the characters that can be used to represent intID. Defaults to the digits 0 to 9 followed by A to Z followed by a to z.

Returns

{string}
The string representation of intID based on the hash and the alphabet.