LJ::acid_encode

LJ::acid_encode — Given a decimal number, returns base 30 encoding using an alphabet of letters & numbers that are not easily mistaken for each other.

Use

LJ::acid_encode(number);

Arguments

  • number. Number to encode in base 30.

Source:

cgi-bin/accountcodes.pl

Returns:

Base 30 encoding, alwyas 7 characters long.