Problem Statement
What is the main purpose of hashing in network security?
Explanation
Hashing converts data into a fixed-length digest using algorithms like SHA or MD5. It is used to detect unauthorized modifications. Even small changes in input produce a different hash, making it ideal for verifying file integrity or storing passwords securely.
