+ 1
How to make my own encryption make using php
How to make my own encryption & decryption make using php Please submit also source code
2 ответов
+ 2
@Minin that's hashing, not encrypting. For storing passwords you should use neither md5 or sha1. You are supposed to use bcrypt or pbkdf2, as they are made for hashing passwords because they are slow and use salts.
0
If you need at least a bit of protection, use sha1() and make the first argument the string you want to en/decrypt, you can also use md5() but that's been cracked already. (Dont use sha1 to store passwords for long, as sha1 has been cracked, but only by Google so you're okay, or at least for a little while)