Class SaltHash


  • public class SaltHash
    extends Object
    Envelope for holding the salt and hash together for convenience
    • Constructor Detail

      • SaltHash

        public SaltHash​(byte[] salt,
                        byte[] hash)
        Public constructor
        Parameters:
        salt -
        hash -
      • SaltHash

        public SaltHash​(String tuple)
        Public constructor
        Parameters:
        tuple -
    • Method Detail

      • getSalt

        public byte[] getSalt()
        Getter for the salt value
        Returns:
      • getHash

        public byte[] getHash()
        Getter for the hash (digest) value
        Returns: