Example usage for Java org.apache.shiro.crypto SecureRandomNumberGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
SecureRandomNumberGenerator() Creates a new instance with a default backing SecureRandom SecureRandom and a #getDefaultNextBytesSize() defaultNextBytesSize of 16 , which equals 128 bits, a size commonly used in cryptographic algorithms. |
ByteSource | nextBytes() |
ByteSource | nextBytes(int numBytes) |
void | setDefaultNextBytesSize(int defaultNextBytesSize) Sets the size of the generated byte array for calls to #nextBytes() nextBytes() . |
void | setSeed(byte[] bytes) Seeds the backing SecureRandom SecureRandom instance with additional seed data. |