Class SaltedPasswordAlgorithmSpec

    • Field Detail

      • salt

        private final byte[] salt
    • Constructor Detail

      • SaltedPasswordAlgorithmSpec

        public SaltedPasswordAlgorithmSpec​(byte[] salt)
        Create a new instance.
        Parameters:
        salt - the salt bytes
    • Method Detail

      • getSalt

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

        public int hashCode()
        Overrides:
        hashCode in class Object