B4J Question Password saving and retrieving, best practices

Cableguy

Expert
Licensed User
Longtime User
I'm at the point where I need to create a login system, and I am at lost on the best practices to secure a password...
All I know is that I should never save a plain text password, and that I need to encrypt it into the database... but using what?
base64, MD5, what?

If I am not mistaken, base64 needs a "common key" to encrypt and decrypt... so how secure can that be?
And MD5... I am completly lost at that
 

Cableguy

Expert
Licensed User
Longtime User
Yes, I read about it, but I am at a total lost on how to do it in b4j... Is hashing available in b4j crypto?
 
Upvote 0
Top