Hashing and encryption are same but not similar.
How is hashing and encryption same?
Hashing and encryption are both used to encode data to provide security.
How is hashing and encryption different?
When a data is encrypted and the data is encoded, this data can be decoded using the decryption process. So, encryption is reversible.
But hashing is a one-way thing. Once a data is hashed, then the original data cannot be obtained from the hashed data