← Tech dictionary
Security
What is Hashing vs encryption?
Hashing is a one-way function that turns data into a fixed-size digest that cannot be reversed — used for storing passwords (with slow, salted algorithms such as bcrypt). Encryption is two-way: data can be decrypted with the right key.
Learn it properlySpring Boot tutorials — free, with diagrams, quizzes and a certificate