I'm using SQL as my database language.
Here are the fields:
- username : datatype - varchar(50)
- password : datatype - varchar(50)
I want to encrypt the password each time I click the button "LOG IN".
And I also want to save passwords that are encrypted on my database
and then just decrypt it to validate user identity.
Hope someone can help me with this.