SHA1 Online Encryption Tool

What is SHA1?

In cryptography, SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function designed by the United States National Security Agency and is a U.S. Federal Information Processing Standard published by the United States NIST.

SHA-1 produces a 160-bit (20-byte) hash value known as a message digest. A SHA-1 hash value is typically rendered as a hexadecimal number, 40 digits long.

You can here try our SHA1 Online Encryption Tool

PHP SHA1 example of use

$str = "Hello"; 
echo "The string: ".$str;
echo "TRUE - Raw 20 character binary format: ".sha1($str, TRUE);
echo "FALSE - 40 character hex number: ".sha1($str);


Leave a Comment

You may also like