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