You are on page 1of 1

Difference between MD5 and SHA (Hash Algorithms)

MD5 Algorithm SHA-1 Algorithm

It is first published in the year 1992. It is first published in the year 1995.

MD5 is uses to create a message digest for digital SHA-1 is used to create digital signatures. It
signatures. It creates a fixed 128-bit output that, produces a 160-bit message digest that is
when summed, total 32 characters long considered to be more secure than MD5.

MD5 is less stronger hash algorithm as it outputs a SHA -1 is considered a stronger hash algorithm as it
128-bit message digest. outputs a 160-bit message digest.

MD5 requires less processing power as compared SHA-1 requires more processing power as
with SHA-1 compared with MD5.

It is less secure It is more secure

It's output performance is 335 MiB/s It's output performance is 192 MiB/s

(MiB/S –Million Bits per Second)

You might also like