PHP Encryption

Sean

‫‫‫‫‫‫  ‫  Don't Worry, Be Happy
Dec 12, 2011
1,121
405
Encryption Methods

I am developing a membership system for my website and would like to know what you think about encryption methods.

Please answer the following questions:

1) What encryption method do you use?

2) What encryption method do you think / know is the most secure?

3) What encryption method would be best suited for a membership system?

4) Do you think I should make my own encryption method or use a public encryption?

5) Do you think my current encryption method will suffice?

t5l92eb.png

Please do not argue. Just answer the questions.
.

.
 

Jian

Resident Weeb
Contributor
Sep 2, 2011
687
437
I'd use salts plus a mix of MD5 and SHA1. But making your own encryption is not really recommended if you really know what you're doing.
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,399
962
1. bcrypt
2. bcrpyt, scrypt, PBKDF2
3. bcrypt/PBKDF2 since scrypt does not have support built in with PHP
4. Use bcrypt or PBKDF2
5. no, because the hashing algorithm is still md5, at least use sha:
PHP:
function encrypt_PBKDF2($data) {
     $salt = "76Vygvt6VTYGvt67GvGutvUV7j";
     $result = hash_pbkdf2("sha256", $data, $salt, 1, 20);
     return $result;
}
 

Users who are viewing this thread

Top