Hashing and salting values
        Posted  
        
            by Avanst
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Avanst
        
        
        
        Published on 2010-06-03T21:05:28Z
        Indexed on 
            2010/06/03
            21:24 UTC
        
        
        Read the original article
        Hit count: 203
        
I am developing a small web app that internally authenticates users. Once the user is authenticated my web app then passes some information such as userID and Person's name to a third party web application. The third party developer is suggesting that we hash and salt the values.
Forgive my ignorance, but what exactly does that mean?
I am writing the app in Java. So what I am planning on doing is hashing the userID, Person's name, and some Math.random() value as the salt with Apache Commons Digest Utils SHA512 and passing that hashed string along with the userID and person's name.
Is that the standard practice? I should be passing the third party the salt as well correct?
© Stack Overflow or respective owner