What are the characteristics of SHA function?

February 7, 2024 · By Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

Characteristics (requirements) of secure hash function :

  1. Applicability to any size of data:
    • The hash function should work for small or large amounts of data.
  2. Fixed-length output:
    • No matter how much data you input, the hash function always gives a fixed-size output.
  3. Ease of generating hash code:
    • It should be easy and quick to generate the hash code for a given piece of data.
  4. Difficulty in reversing the process:
    • It should be extremely hard for someone to figure out the original data if they only have the hash code.
  5. Resistance to finding collisions:
    • It should be computationally infeasible to find two different pieces of data that produce the same hash code.
  6. Uniqueness for similar data:
    • Even if two pieces of data are very similar, the chances of them having the same hash code should be extremely low.

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion