xxxxxxxxxx
#The difference between encryption and hasing is that hashing is one way whilst encryption is two-way.
# When you encrypt something, it can be decrypted. However, hashing confirms if data was not altered along the path from source to recipient.
#Encryption is used to maintain data confidentiality whilst hashing maintains data integrity by ensuring we check if data was altered or not.