3 Replies Latest reply on Jan 19, 2013 5:44 PM by Robert Dalgleish

    Storing the hashed password in database

    harikris Newbie

      Hi All,

       

      I would like to know how to save store sensitive information such as passwords and credit card information in the database in the JBOSS AS server context.

       

      For passwords, i read that the best thing to do is to hash the password and store the hash. But i have no clue on how to do this. Can you give me some pointers or a code example to realize this in the JBOSS context?

       

      Will hashing and storing the hash technique be sufficient for storing credit card or payment method as well?

       

      Thanks in advance.