Example usage for Java org.apache.shiro.crypto.hash Hash fields, constructors, methods, implement or subclass
The text is from its open source code.
String | getAlgorithmName() Returns the name of the algorithm used to hash the input source, for example, SHA-256 , MD5 , etc. |
byte[] | getBytes() Returns the wrapped byte array. |
int | getIterations() Returns the number of hash iterations used to compute the hash. |
ByteSource | getSalt() Returns a salt used to compute the hash or null if no salt was used. |
boolean | isEmpty() Returns true if the underlying wrapped byte array is null or empty (zero length), false otherwise. |
String | toBase64() Returns the Base 64-formatted String representation of the underlying wrapped byte array. |
String | toHex() Returns the Hex-formatted String representation of the underlying wrapped byte array. |