Correct Answer: b) To ensure data integrity by generating a fixed-length output
Explanation: A cryptographic hash function ensures data integrity by generating a unique, fixed-length hash value from input data, allowing verification that the data has not been altered.