public class SaltedHashPasswordSpec extends Object implements PasswordSpec
PasswordSpec
for a password represented by a hash with a salt.Constructor and Description |
---|
SaltedHashPasswordSpec(byte[] hash,
byte[] salt)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
byte[] |
getHash()
Get a password hash bytes.
|
byte[] |
getSalt()
Get the salt bytes.
|
int |
hashCode() |
public SaltedHashPasswordSpec(byte[] hash, byte[] salt)
hash
- the password hash bytessalt
- the salt bytesCopyright © 2020 JBoss by Red Hat. All rights reserved.