3 Replies Latest reply on Jun 8, 2010 9:53 PM by kapitanpetko

    Help required in displaying the encrypted field

    anitha.nagani.raj.gmail.com

      Hi all,


      I have developed an application using seam gen. I have a table called 'device' in my application which has a column named 'password'. The user should enter the password and the entered password should be encrypted and saved in the database. I'm successful in doing this. The entered password is getting stored in the database as an encrypted string. I have used DES algorithm to accomplish this task.


      Now the problem is in displaying the password with original string. When the view link is clicked the encrypted password should get decrypted and it should be shown as a normal string. I even have the code to perform decryption but the problem is I'm not getting to know where should i call this decrypt method in devicehome.java file.


      Please help