index 37adff9386e4af448c6829125ce30cc817c85a7f..ea16ce99c9a933378b57461ddb68a05540af9ee5 100644 (file)
function generate_hash($pwd)
{
- return "{md5}".base64_encode( pack('H*', md5($pwd))));
+ return "{MD5}".base64_encode( pack('H*', md5($pwd)));
}
+
+
+ function get_hash_name()
+ {
+ return "md5";
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: