Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
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.
Don't get me started about those stupid
Boost this thread!
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