The SHA-1 and MD5 Algorithms

SHA-1: The Secure Hash Algorithm (SHA) was developed by NIST and is specified in the Secure Hash Standard (SHS, FIPS 180). SHA-1 is a revision to this version and was published in 1994. It is also described in the ANSI X9.30 (part 2) standard. SHA-1 produces a 160-bit (20 byte) message digest. Although slower than MD5, this larger digest size makes it stronger against brute force attacks.

MD5: MD5 was developed by Professor Ronald L. Rivest in 1994. Its 128 bit (16 byte) message digest makes it a faster implementation than SHA-1.
In both cases, the fingerprint (message digest) is also non-reversable…. your data cannot be retrieved from the message digest, yet as stated earlier, the digest uniquely identifies the data.

In both cases, the fingerprint (message digest) is also non-reversable…. your data cannot be retrieved from the message digest, yet as stated earlier, the digest uniquely identifies the data.