crypt($your_string) - This PHP function calculates the hash of a string using the standard Unix DES-based encryption algorithm or alternative algorithms that may be available on the system. The hash of the result is returned.
hash($algorithm, $your_string) - This PHP functions generates a hash value of a string. This tool uses sha256 as the default algorithm.
md5($your_string) - This PHP function generates the MD5 hash of a string using the RSA Data Security, Inc. MD5 Message-Digest Algorithm. The hash of the result is returned.
sha1($your_string) - This PHP function generates the SHA1 hash of a string.. The hash of the result is returned .