Class SaltedHashPasswordSpec

    • Constructor Detail

      • SaltedHashPasswordSpec

        public SaltedHashPasswordSpec​(byte[] hash,
                                      byte[] salt)
        Construct a new instance.
        Parameters:
        hash - the password hash bytes
        salt - the salt bytes
    • Method Detail

      • getHash

        public byte[] getHash()
        Get a password hash bytes.
        Returns:
        the password hash
      • getSalt

        public byte[] getSalt()
        Get the salt bytes.
        Returns:
        the salt bytes
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object