Why the value of GetHashCode cannot be saved?

Reading the book, Jeffrey Richter came across the following: subject - hash codes of objects and it says that you cannot save the value of getHashCode in the database and in General cannot be saved unless you save, where when the user registers to write down somewhere the password hash that would be in the future to compare with the entered password?
March 23rd 20 at 19:15
2 answers
March 23rd 20 at 19:17
Solution
You can save. Just keep in mind that GetHashCode is not enough that can change from version dotnet and may not be correlated with the contents of the variable.

For the case of user registration use fixed algorithms of the same type md5
aaaaaa sure, there are also other algorithms)) thank you very much) - Adrianna commented on March 23rd 20 at 19:20
March 23rd 20 at 19:19
GetHashCode is not for kriptografii! It can be constantly changing.

Use System.Security

Find more questions by tags C#