loading...

Discussion on: Use strong encryption and hashing algorithms in Java

Collapse
likelocusts profile image
LikeLocusts

Please mind the terminology. You wrote about password encryption, while actually talking about hashing.
There is a big difference, especially concerning secure password storage.
Using encryption you could always reverse the process and retrieve the clear text password, while a hashed password can't be reversed, only validated against the actual password.

"For passwords, it is safer to use asymmetric encryptions as we don’t need to retrieve the original passwords..."

Well asymmetric encryption let's you retrieve the password just like symmetric encryption, you only need more keys.
It has nothing to do with hashing.

Collapse
brianverm profile image
Brian Vermeer πŸ§‘πŸΌβ€πŸŽ“πŸ§‘πŸΌβ€πŸ’» Author

Thanks for pointing this out. By mistake I used the term asymmetric instead of one-way encryption.
Will change it right away.