Question: Write a procedure that computes the SHA-1 hash of a block of data. The procedure should have two parameters: a pointer to the input buffer
Write a procedure that computes the SHA-1 hash of a block of data. The procedure should have two parameters: a pointer to the input buffer and a pointer to a 20-byte output buffer. To see the exact specification of SHA-1, search the Internet for FIPS 180-1, which is the full specification.
Step by Step Solution
3.40 Rating (175 Votes )
There are 3 Steps involved in it
SHA1 or Secure Hash Algorithm 1 is a cryptographic hash function which takes an input and produces a 160bit 20byte hash value This hash value is known ... View full answer
Get step-by-step solutions from verified subject matter experts
