SHA-1
The
secure hash algorithm (SHA) was developed by National Institute of Standards
and Technology (NIST). It is based on MD4 algorithm. Based on different digest
lengths, SHA includes algorithms such as SHA-1, SHA-256, SHA-384 and SHA-512. Unlike
encryption, given a variable length message x, a secure hash algorithm computes
a function H(x) which has a fixed bit. When a message of any length is less
than 264 bits is input, the SHA-1 produces a 160-bit output called message
digest.
MD 5
128-bit
message digest developed by Ron Rivest. This algorithm takes the input length
of arbitrary length and 128-bit message digest is produced. The input message
is 512-bit blocks. Figure shows processing of message to produce message
digest.
Difference between SHA-1 and MD 5
To learn more about Difference between SHA1 and MD5, Click here
Watch more videos click here.
No comments:
Post a Comment