MyBB Community Forums

Full Version: Step by step password encryption
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Mybb password encryption. 

If I will make a custom code (php) in creating password like MyBB, how it is done? Without using any function like 'salt_password' in mybb.
Oops got the answer!

$stored_password = md5(md5($salt).md5($the_password));
FYI, MyBB doesn't encrypt passwords. It hashes them. Encryption can be decrypted, hashes cannot.
(2016-04-25, 07:58 AM)Nathan Malcolm Wrote: [ -> ]FYI, MyBB doesn't encrypt passwords. It hashes them. Encryption can be decrypted, hashes cannot.

yup. i mean hash, not encrypt. Thanks!