Example usage for Java org.apache.shiro.crypto RandomNumberGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
ByteSource | nextBytes() Generates a byte array of fixed length filled with random data, often useful for generating salts, initialization vectors or other seed data. |
ByteSource | nextBytes(int numBytes) Generates a byte array of the specified length filled with random data. |