SHA Hash Generator



 

What is SHA? (Secure Hash Algorithm)

It's a set of cryptographic hash functions designed by the NSA (National Security Agency).
SHA can be used to:

  • check the integrity of files and text messages,
  • compare files and long texts - this is a very fast solution if you want to check if one text or file is the same as other text or file,
  • create digital signatures,
  • store passwords or credit card numbers (to avoid storing them in cleartext).
 

SHA1

SHA1 was published in 1995. It produces a 160-bit digest (40 characters) from a message with a maximum length of (264 − 1) bits and is used in many security applications and protocols, including PGP, SSL and IPsec. You shouldn't use the SHA1 algorithm because of its weaknesses. (NIST announced that they planned to phase out the use of it by 2010 in favor of the SHA2 variants).

 

SHA2

In 2001 were published four additional hash functions in the SHA family, named after their digest lengths (in bits):

  • SHA224
  • SHA256
  • SHA384
  • SHA512
If you plan to store passwords or any other sensitive data like credit card numbers, you should use SHA2 algorithms. Of course, the strongest is a SHA512 algorithm.
 

SHA Hash

The sha generator converts a string into a sha hash value. For example, if you type:
"passwords and credit card numbers are very sensitive data and they should be stored after hashing"
in the input field above and submit (SHA1) you get a digit:
45c5ce95b270ba45e4053133de4128891e3cafc0. The digit is your SHA hash.
But even a small change in the text will result in a completely different SHA hash. For example, if you type:
"passwords and credit card numbers are very sensitive data and they should be stored after hashing!"
and submit form then you get a completely diffrent SHA hash:
a6e60249376771446c8ebefcc832de89b8fe0ba6.