Summary
- File
- Package hierarchy Util
- Class hierarchy \KeyGenerator
generate_key( $length = null)
$length |
None found |
generate_token()
None found |
string_hash(string $string, mixed $salt = true) : string
Return a SHA256 hash of the $str string [with a salt]
string | $string | the string to hash |
mixed | $salt | If true, add the default salt : md5($str) if a string, use this string as the salt if false, do not use any salt |
a SHA256 hash of the $string string [with a salt]
None found |