Example usage for Java org.apache.shiro.crypto.hash SimpleHash fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleHash(String algorithmName, Object source, Object salt, int hashIterations) Creates an algorithmName -specific hash of the specified source using the given salt a total of hashIterations times. | |
SimpleHash(String algorithmName) Creates an new instance with only its algorithmName set - no hashing is performed. | |
SimpleHash(String algorithmName, Object source, Object salt) Creates an algorithmName -specific hash of the specified source using the given salt using a single hash iteration. |
byte[] | getBytes() |
int | getIterations() |
ByteSource | getSalt() |
String | toBase64() Returns a Base64-encoded string of the underlying #getBytes byte array . |
String | toHex() Returns a hex-encoded string of the underlying #getBytes byte array . |