1. What are Hash Functions
Hash functions are one-way functions that convert arbitrary-size data into fixed-size values. They have the avalanche effect where even a slight change in input produces a completely different hash, and the same input always produces the same output. MD5 generates 128-bit, SHA-1 generates 160-bit, and SHA-256 generates 256-bit hashes. Since hashes are one-way functions that cannot be decrypted, they are ideal for verifying integrity while hiding original data. Widely used in file download verification, password storage, blockchain, digital signatures, and more.