| Author |
To Encrypt Password before storing using hibernate
|
S.R.K.Vivek Raju
Ranch Hand
Joined: Sep 23, 2004
Posts: 58
|
|
Hi all I have to encrypt password before storing into the database and i am using hibernate as the middle tier. In pure JDBC we use the "encode" keyword as follows, String 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. Thanks With Regards S.R.K.Vivek Raju.
|
 |
 |
|
|
subject: To Encrypt Password before storing using hibernate
|
|
|