Encryption and Hashing are used to convert the human readable date to unreadable format which is not to be understanding format of actual data.
Encryption is a process which scramble the plaintext to cipher text format.It can be decrypt via the relevant key to original data. The original data can be retrive in encryption process.
Hashing is a process turns the plaintext to the unique code format. It can’t be convert back/decrypt to the readable format or original data.The original data can’t be retrive in encryption process.