Class SaltedHash
java.lang.Object
org.exoplatform.web.security.hash.SaltedHash
An ancillary data object representing a salted hash. Use
SaltedHashCodec to get a representation suitable for storing
in a database.-
Constructor Details
-
SaltedHash
- Parameters:
algorithm-iterationCount-salt-hash-
-
-
Method Details
-
getAlgorithm
- Returns:
- the algorithm
-
getIterationCount
public int getIterationCount()- Returns:
- the iterationCount
-
getSalt
public byte[] getSalt()- Returns:
- the salt
-
getHash
public byte[] getHash()- Returns:
- the hash
-
hashCode
public int hashCode() -
equals
-
toString
-