4 Describe how password hashing worksSolutionA pssword hash
4. Describe how password hashing works
Solution
A pssword hash is a one way function, which is used to store and verify passwords. It should be very difficult to get the password from the hash and it should only be a brute force method. This is to make sure that if there is some attack on the host server, the attacker should note be given access to the original password. Another property should be that the hash must be easy to calculate. Another property is that a small change to password must change the hash value extensively. There should not be two passwords with the same hash value.
