Explain what is the difference between encrypting a password and applying a hashing?



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

Answer / Shemphan Sun

Encryption is a process of converting plain text into cipher text using an algorithm, whereas hashing is a process of converting data (including plain text) into fixed size alphanumeric strings called hash values. Encrypted data can be decrypted back to its original form using the correct key, while hashed data cannot be reversed to its original form. Hash functions are often used for password storage in databases because they can quickly verify if a provided password matches the stored hash value without storing the actual password.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

How to create properties and methods using controls?

1 Answers   CGI,


As you know read-only variables and constants have many similarities, but what is at least one way that they differ?

1 Answers  


Explain what relationship is between a process, application domain, and application?

1 Answers  


what is a strong name?

3 Answers  


why do you want to join deloitte, where do you exactly fit in.

1 Answers   Deloitte,


Describe the start-up process for a Windows service.

1 Answers  


Write the .net syntax for 'for loop'?

1 Answers  


Which namespace is the base class for .net Class library?

1 Answers  


What is the use of immutability?

1 Answers  


How to store and retrieve images in SQL server database through VB.NET?

1 Answers  


Explain webfarm vs webgardens in .net?

1 Answers  


Explain me what is an anonymous method and how is it different from a lambda expression?

1 Answers  


Categories