adspace
What is the difference between encrypting a password and applying a hashing?
Answer Posted / Lokendra Singh
Encryption converts plain text into ciphertext, which can be decrypted back to its original form using a key. Hashing, on the other hand, creates a unique fixed-size string (hash) from input data of any size, which cannot be reversed or decrypted. When storing passwords, it's common to hash them first and then store the hash instead of the actual password. This way, even if the password database is compromised, attackers can't easily recover the original passwords.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers