Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Password hashing stage 1
- $a_password = sha1($a_password);
- $a_password = md5($a_password);
- $a_password = md5($a_password);
- //Password hashing stage 2
- $a_hash_user = sha1($a_username);
- $a_hash_user = md5($a_username);
- //Final stage
- $a_user_pass = $a_password.$a_username;
- $a_password_combined = md5($a_user_pass);
- //Final hash
- $a_password = $a_password.$a_hash_user.$a_user_pass.$a_password_combined;
Add Comment
Please, Sign In to add comment