Cryptography

Which properties describe a cryptographic hash function? (Choose two.)

Choose 2 answers

Show the answer

Correct answersC. It produces a fixed-length digest for any input sizeD. It is one-way, so the input cannot feasibly be recovered

AWhy not this: a key pair describes asymmetric encryption or digital signatures, not a plain hash.

BWhy not this: a shared secret key describes symmetric encryption, or keyed HMAC, not a plain hash.

CWhy this is right: whatever the input size, a hash function outputs a digest of fixed length.

DWhy this is right: hashing is one-way; recovering the original input from the digest is computationally infeasible.

A cryptographic hash maps any input to a fixed-length digest and is designed to be one-way. It uses no keys and is not encryption, so key-based descriptions fit symmetric or asymmetric ciphers, not hashing.