MyBB Community Forums
Step by step password encryption - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Step by step password encryption (/thread-192102.html)



Step by step password encryption - xkevin - 2016-04-25

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.


RE: Step by step password encryption - xkevin - 2016-04-25

Oops got the answer!

$stored_password = md5(md5($salt).md5($the_password));


RE: Step by step password encryption - Nathan Malcolm - 2016-04-25

FYI, MyBB doesn't encrypt passwords. It hashes them. Encryption can be decrypted, hashes cannot.


RE: Step by step password encryption - xkevin - 2016-04-25

(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!