PHP crypt(), md5() & sha1() Functions

crypt(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.

md5(string) — This PHP function calculates the MD5 hash of a string using the RSA Data Security, Inc. MD5 Message-Digest Algorithm. The hash of the result is returned.

sha1(string) — This PHP function calculates the SHA1 hash of a string.. The hash of the result is returned .

Try it here. Enter your string below to calculate its hash value:
e.g. An input of 'secret123' will produce
5d7845ac6ee7cfffafc5fe5f35cf666d for md5() and
f2b14f68eb995facb3a1c35287b778d5bd785511 for sha1()


Hash Results
Test String:
Crypt Hash Value:
MD5 Hash Value:
SHA1 Hash Value: