I think that I'm here in the right forum to post now. I have recently read on the Internet that an MD5 hash of a password is probably not so sure. Now I'm looking for a solution to a more secure password. I was thinking of something like this:
PHP Code:
$server = $_SERVER [ 'NAME_OF_SERVER' ];
$password = 'password' ;
// Generate md5 hash from servername
$s_hash = md5 ( $server );
$password = sstr ( $s_hash , 0 , 15 ).md5 ( $password ).sstr ( $s_hash , 16 );
echo sha1 ( $password );
Is this safe enough or does it secure. What do you think? Please suggest me if you have something else in your mind.
Bookmarks