Class SaltedHashPasswordSpec
java.lang.Object
org.wildfly.security.password.spec.SaltedHashPasswordSpec
- All Implemented Interfaces:
KeySpec,PasswordSpec
A
PasswordSpec for a password represented by a hash with a salt.- Author:
- Pedro Igor
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SaltedHashPasswordSpec
public SaltedHashPasswordSpec(byte[] hash, byte[] salt) Construct a new instance.- Parameters:
hash- the password hash bytessalt- the salt bytes
-
-
Method Details