A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Object Relational Mapping
To Encrypt Password before storing using hibernate
Joined: Sep 23, 2004
May 19, 2005 07:30:00
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.
I agree. Here's the link:
subject: To Encrypt Password before storing using hibernate
how to encode the password in database ?
designing login page
How to store passwords securly
How do I print extended ascii characters in Java ?
how to use db2 function in the HQL
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013