Question

What is a 'hash function' in cryptography and what property makes it suitable for password storage?

A A function that encrypts data and can be reversed using a decryption key — suitable because of its reversibility
B A function that converts input data of any size into a fixed-size output and is irreversible — suitable because the original password cannot be derived from the hash
C A function that compresses data for efficient storage — suitable for its space efficiency as compressed data takes up less space
D A function that generates random encryption keys — suitable for its unpredictability
E A function that sorts data alphabetically — suitable for quick password lookup
Practice Next

Relevant for Exams:

Hey! Ask a query