49 return function_exists(
'md5');
60 public function generate_hash (
string $pwd,
bool $locked = FALSE): string
62 return '{MD5}'.($locked ?
'!' :
'').base64_encode(pack(
'H*', md5($pwd)));
generate_hash(string $pwd, bool $locked=FALSE)
Generate template hash.
__construct()
passwordMethodMd5 Constructor
This class contains all the functions for md5 password method.
This class contains all the basic function for password methods.
static get_hash_name()
Get the hash name.
is_available()
Is available.