New answers tagged sha-512
Yes, your padding and the idea about the length field are correct. Now you just have to append the size of the message as 64-bit big-endian integer (128 bit). After that your enhanced message should be divisible by 1024. Source: Pseudocode of SHA-256 of the English Wikipedia. (Notice the additional information about SHA-512.)
Actually, it's there on the list, just with a different name -- the approved algorithm you want is listed as "SHS" (Secure Hashing Standard). Now, the term "SHS" doesn't distinguish between the various flavors of SHA-2 (and SHA-1, which is still approved for some uses); however if you look at this more detailed list, that gives details on what vendors have ...
Top 50 recent answers are included