Background of Secure Hash Function (SHA) and SHA-512.
1. Background Regarding SHA These Days, the most widely used hash function is secure hash function (SHA). SHA was developed by National Institute of Standards and Technology (NIST). After that, when some weakness found in SHA then with some additional revision the new version of SHA is launched Which is called as SHA-1 and the previous version of SHA was called as SHA-0. SHA is basically based on MD4, and its design closely models MD4. Fig. 1 defines the Secure Hash code that is somehow important for SHA. Fig. General structure of Secure Hash Code SHA-1 produces a hash value of 160 bits. In 2002, NIST produced a revised version of standard, FIPS 180-2, that defines three new version of SHA, with hash value lengths of 256, 384, and 512, know as SHA-256, SHA-384, SHA-512. Collectively, this hash algorithm are comes under the category of SHA-2. 2. SHA-512 Logic : This algorithm takes an input a message having maximum length less than 2^(128) bits and produces as ou...