index c3d21c8b459ed958299380681a97fc04f93194fb..2c979aa9e7188f197850bbf36008c9937a5bd3c6 100644 (file)
function generate_hash($pwd)
{
- return "{crypt}".crypt($pwd, substr(session_id(),0,2));
+ return "{CRYPT}".crypt($pwd, substr(session_id(),0,2));
}
+
+
+ function get_hash_name()
+ {
+ return "crypt";
+ }
+
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: