Different form of encryption method, check out details at following links http://php.net/manual/en/function.md5.php http://php.net/manual/en/function.crc32.php http://php.net/manual/en/function.sha1.php
Ideally you'd want to use the hash() function in PHP to encrypt your data. Using the SHA512 encryption algorithm is probably the most powerful algorithm currently, along with a salt makes for a hard-to-crack password or other data. Something along the lines of this: // Salting should be much more thorough than this with a better random number generator. $salt = rand(1000,99999); $password = $_POST['password']; $password = hash("sha512", $password.$salt); Code (markup):