DEV Community

Discussion on: How to Securely Store a Password in Java

Collapse
 
caseywebb profile image
Casey Webb

While this is a well written guide, it should be pointed out that hashing != encryption. Hashing is 1-way, encryption is 2-way. In other words, you can't decrypt a hash, you can only check that rehashing the same value gives the same results.

Collapse
 
awwsmm profile image
Andrew (he/him)

Updated. Let me know what you think!

Collapse
 
caseywebb profile image
Casey Webb

Looking good!

Collapse
 
awwsmm profile image
Andrew (he/him)

Thanks for the heads-up! I'm working on an amended version of the article that discusses this issue. I'll post it tonight or tomorrow.