| Ensures data integrity and authenticity. | Ensures data confidentiality. |
| One-way original data cannot be recovered from a hash. | Two-way original data can be recovered using decryption key. |
| Fixed-length digest, independent of input size. | Output size may vary; usually similar to input size. |
| The same input always produces the same hash. | The same plaintext can produce different ciphertexts (with randomization in some algorithms). |
| Password storage, message verification, digital signatures. | Secure communication, file encryption, secure storage. |