Enumerations | |
enum | RND_ANYRANGE |
enum | RND_MASK |
enum | RND_OTHER1 |
enum | RND_OTHER2 |
enum | RND_TICKET |
enum | RND_VOUCHER |
Functions | |
getCode39ID ($length, $range=RND_ANYRANGE) | |
return a new Code-39 capable ID; length is the amount of characters | |
getRandom ($bits) | |
return $bits bits of random data as hex string | |
getSalt () | |
return a salt value for Customer::setPassword | |
randseedfile ($fn, $sz) | |
randseedinit () | |
Variables | |
$RANDCTR = 0 | |
$RANDSEED = "" | |
return |
enum RND_ANYRANGE |
enum RND_MASK |
enum RND_OTHER1 |
enum RND_OTHER2 |
enum RND_TICKET |
enum RND_VOUCHER |
getCode39ID | ( | $ | length, | |
$ | range = RND_ANYRANGE | |||
) |
return a new Code-39 capable ID; length is the amount of characters
References getRandom().
Referenced by WebCart::getNewCartId(), WOWebSession::getNewSessionId(), BarcodeTable::getNewTicketId(), and BarcodeTable::getNewVoucherId().
getRandom | ( | $ | bits | ) |
return $bits bits of random data as hex string
References $RANDCTR, $RANDSEED, and randseedinit().
Referenced by getCode39ID(), getSalt(), Session::login(), and WOCustomer::resetPassword().
getSalt | ( | ) |
return a salt value for Customer::setPassword
References getRandom().
Referenced by MachineUser::changePasswd(), MachineUser::createUser(), and Session::passwdHash().
randseedfile | ( | $ | fn, | |
$ | sz | |||
) |
References $RANDSEED.
Referenced by randseedinit().
randseedinit | ( | ) |
References $RANDSEED, and randseedfile().
Referenced by getRandom().
$RANDCTR = 0 |
Referenced by getRandom().
$RANDSEED = "" |
Referenced by getRandom(), randseedfile(), and randseedinit().