Security


Alright, I’m the first to admit that I’ve done my share of plaintext saving passwords to the database. Not my proudest hour. Then of course the software I was working on wasn’t exactly for a nuclear silo, just a simple ice cream store. :)

Still! I’ve searched the web and after a bit of elbow grease I came up with this simple and easy to follow example on how to hash and salt your passwords.

If you’d like to know what hashing and salting is, Google it. :D

Basically it turns this:

“Sergio”

Into this:

“B00nqRY/9yGjbczZLDQV6nbZCuSHqyzotEwnp212GW8=”

Continue Reading