What is the difference between encrypting a password and applying a hashing?



What is the difference between encrypting a password and applying a hashing?..

Answer / 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

More Dot Net General Interview Questions

What is the difference between override and overload in a method?

1 Answers  


What are data types in .NET?

1 Answers   UGC Corporation,


Please explain what are an object and a class?

1 Answers  


Is .net core managed code?

1 Answers  


What are the fundamental objects in ADO.NET?

1 Answers  


What is 3 tier architecture?

1 Answers  


what are design patterns in .net....?

2 Answers  


What is garbage collection and how it works ?

1 Answers  


Explain what is heap and what is stack?

1 Answers  


How to instantiate a delegate?

1 Answers  


What is loosely coupled solution in.net?

1 Answers  


What is WSDL? Explain its architecture?

1 Answers   Amdocs,


Categories