Class EncryptablePasswordSpec

    • Constructor Detail

      • EncryptablePasswordSpec

        public EncryptablePasswordSpec​(char[] password,
                                       AlgorithmParameterSpec algorithmParameterSpec)
        Construct a new instance.
        Parameters:
        password - the password to be encrypted or hashed
        algorithmParameterSpec - the parameters of the algorithm to be used for encryption or hashing
    • Method Detail

      • getPassword

        public char[] getPassword()
        Get the password characters.
        Returns:
        the password characters
      • getAlgorithmParameterSpec

        public AlgorithmParameterSpec getAlgorithmParameterSpec()
        Get the algorithm parameter specification.
        Returns:
        the algorithm parameter specification
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object