Java org.apache.shiro.crypto SecureRandomNumberGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.shiro.crypto SecureRandomNumberGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.shiro.crypto SecureRandomNumberGenerator.

The text is from its open source code.

Constructor

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.

Method

ByteSourcenextBytes()
ByteSourcenextBytes(int numBytes)
voidsetDefaultNextBytesSize(int defaultNextBytesSize)
Sets the size of the generated byte array for calls to #nextBytes() nextBytes() .
voidsetSeed(byte[] bytes)
Seeds the backing SecureRandom SecureRandom instance with additional seed data.