Q2Information System Security
Question
2 marks
What is a cryptographic hash function?
Answer
A cryptographic hash function is an irreversible mathematical algorithm that violently compresses arbitrary-length data into a rigidly fixed-size deterministic string (the digest).
A hash function (like SHA-256) mathematically processes a 10-Gigabyte video file and outputs exactly 256 bits. It is a one-way mathematical trapdoor; you cannot decrypt a hash. Its absolute purpose is guaranteeing data integrity—changing a single pixel in the video will completely and violently change the resulting 256-bit hash.