Register / Login
Object Relational Mapping
To Encrypt Password before storing using hibernate
posted 11 years ago
I have to encrypt password before storing into the database and i am using hibernate as the middle tier.
we use the "encode" keyword as follows,
insert_query="INSERT INTO table values(?,?,encode(?,'vivek'));
But using hibernate we do the session.save to insert the values nto the database, So is there any way by which we could encode or encrypt passwords before storing into the database.
Any help will be very much appreciated.
How to store passwords securly
how to use db2 function in the HQL
how to encode the password in database ?
How do I print extended ascii characters in Java ?
designing login page