Dan's Brain

Secure Hash Algorithm

security

SHA is based on the hash function MD4. SHA-256 and SHA-384 and SHA-512 are collectively known as SHA-2.

SHA-512 Logic

  1. Append padding bits
  2. Append length
  3. Initialize hash buffer
  4. Process message in 1024-bit blocks
  5. Output

Links to this note