Class IteratedSaltedPasswordAlgorithmSpec

    • Field Detail

      • iterationCount

        private final int iterationCount
      • salt

        private final byte[] salt
    • Constructor Detail

      • IteratedSaltedPasswordAlgorithmSpec

        public IteratedSaltedPasswordAlgorithmSpec​(int iterationCount,
                                                   byte[] salt)
        Construct a new instance.
        Parameters:
        iterationCount - the iteration count
        salt - the salt bytes
    • Method Detail

      • getIterationCount

        public int getIterationCount()
        Get the iteration count.
        Returns:
        the iteration count
      • getSalt

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

        public int hashCode()
        Overrides:
        hashCode in class Object