Constructs a new {@code DefaultHashService} instance with the following defaults:
<ul>
<li>{@link #setHashAlgorithmName(string) hashAlgorithmName} = {@code SHA-512}</li>
<li>{@link #setHashIterations(int) hashIterations} = {@code 1}</li>
<li>{@link #setRandomNumberGenerator(hunt.shiro.crypto.RandomNumberGenerator) randomNumberGenerator} =
new {@link SecureRandomNumberGenerator}()</li>
<li>{@link #setGeneratePublicSalt(bool) generatePublicSalt} = {@code false}</li>
</ul>
<p/>
If this hashService will be used for password hashing it is recommended to set the
{@link #setPrivateSalt(ByteSource) privateSalt} and significantly increase the number of
{@link #setHashIterations(int) hashIterations}. See the class-level JavaDoc for more information.
Constructs a new {@code DefaultHashService} instance with the following defaults: <ul> <li>{@link #setHashAlgorithmName(string) hashAlgorithmName} = {@code SHA-512}</li> <li>{@link #setHashIterations(int) hashIterations} = {@code 1}</li> <li>{@link #setRandomNumberGenerator(hunt.shiro.crypto.RandomNumberGenerator) randomNumberGenerator} = new {@link SecureRandomNumberGenerator}()</li> <li>{@link #setGeneratePublicSalt(bool) generatePublicSalt} = {@code false}</li> </ul> <p/> If this hashService will be used for password hashing it is recommended to set the {@link #setPrivateSalt(ByteSource) privateSalt} and significantly increase the number of {@link #setHashIterations(int) hashIterations}. See the class-level JavaDoc for more information.