public class SaltedHash extends Object
SaltedHashCodec to get a representation suitable for storing
in a database.| Constructor and Description |
|---|
SaltedHash(String algorithm,
int iterationCount,
byte[] salt,
byte[] hash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlgorithm() |
byte[] |
getHash() |
int |
getIterationCount() |
byte[] |
getSalt() |
int |
hashCode() |
String |
toString() |
public SaltedHash(String algorithm, int iterationCount, byte[] salt, byte[] hash)
algorithm - iterationCount - salt - hash - public String getAlgorithm()
public int getIterationCount()
public byte[] getSalt()
public byte[] getHash()
Copyright © 2018 JBoss by Red Hat. All Rights Reserved.