»

LJ::make_auth_code

LJ::make_auth_code — Makes a random string of characters of a given length.

Use

LJ::make_auth_code(length);

Arguments

  • length. length of auth code to return

Source:

cgi-bin/ljlib.pl

Returns:

string of random characters, from an alphabet of 30 letters & numbers which aren't easily confused.