What is a key property of a cryptographic hash function?
- A.It requires a key to generate the hash
- B.It always produces the same fixed-size output for the same input
- C.It encrypts data so only authorized users can read it, and a hash function with a known collision remains suitable for signing
- D.It can be reversed to recover the original data
Why B is correct
A cryptographic hash function takes any input and produces a fixed-size output (hash/digest). The same input always produces the same hash, but even a tiny change in input produces a completely different hash. Hashes are one-way functions and cannot be reversed to recover the original data.
Know someone studying for Security Fundamentals? Send them this one.