DEV Community

Things I think I know about Cryptography

Dave Cridland on January 25, 2018

I am, as I've said before, not a cryptographer. Nevertheless, there are some random things I think I know about cryptography. Here are some. Plea...
Collapse
 
ctigeek profile image
Steven Swenson

If you're not sure which hash to use, and it's for a security-related reason, use SHA-2 at a length appropriate for your use.

Unless it's for password hashing, in which case use bcrypt with a work factor of at least 10.
en.wikipedia.org/wiki/Bcrypt