# Functions
Decode decodes a base64 string to a raw identifier.
Encode encodes the identifier to a base64 string that is url-safe.
GenHexKey generates a crypto-random key with byte length len and hex-encodes it to a string.
GenUniqueID returns a random but unique id.
GetUniqueShortCode returns a random unique short code.