What is a SHA-1 encoding?
SHA stands for Secure Hash Algorithm. SHA-1 and SHA-2 are distinct families: SHA-1 is deprecated where collision resistance is required, while SHA-256, SHA-384, and SHA-512 belong to SHA-2.
SHA-1 or Secure Hash Algorithm 1 is a cryptographic hash function which takes an input and produces a 160-bit (20-byte) hash value known as a Message Digest, typically rendered as a hexadecimal number, 40 chaotic digits long.
SHA-1 is most often used to verify that a file has been unaltered. This is done by producing a checksum before the file has been transmitted, and then again once it reaches its destination.
When learning about SHA forms, several different types of SHA are referenced. SHA-2 can produce a variety of bit-lengths, from 256 to 512 bit, allowing it to assign completely unique values to every hash digest created. Examples of SHA are SHA-1, SHA-2, SHA-256, SHA-512, SHA-224, and SHA-384, but in actuality there are only two types: SHA-1 and SHA-2. The other larger numbers are just versions of SHA-2 that note the bit lengths of the SHA-2.