class helper
Properties
string | $itoa64 | base64 alphabet |
Methods
__construct(config $config)
Construct a driver helper object |
||
string |
hash_encode64(string $input, int $count)
Base64 encode hash |
|
string |
unique_id(string $extra = 'c')
Return unique id |
|
string |
get_random_salt(int $length, string $rand_seed = '/dev/urandom')
Get random salt with specified length |
|
bool |
string_compare(string $string_a, string $string_b)
Compare two strings byte by byte |
Details
at line 34
public
__construct(config $config)
Construct a driver helper object
at line 47
public string
hash_encode64(string $input, int $count)
Base64 encode hash
at line 95
public string
unique_id(string $extra = 'c')
Return unique id
at line 121
public string
get_random_salt(int $length, string $rand_seed = '/dev/urandom')
Get random salt with specified length
at line 154
public bool
string_compare(string $string_a, string $string_b)
Compare two strings byte by byte