Example usage for Java org.apache.shiro.crypto.hash DefaultHashService fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultHashService() Constructs a new DefaultHashService instance with the following defaults:
|
Hash | computeHash(HashRequest request) Computes and responds with a hash based on the specified request. |
ByteSource | getPrivateSalt() |
void | setGeneratePublicSalt(boolean generatePublicSalt) Sets whether or not a public salt should be randomly generated and used to compute a hash if a HashRequest does not specify a salt. |
void | setHashAlgorithmName(String name) |
void | setHashIterations(int count) |
void | setPrivateSalt(ByteSource privateSalt) |
void | setRandomNumberGenerator(RandomNumberGenerator rng) |