Package org.apache.commons.crypto.random
Interface CryptoRandom
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
- All Known Implementing Classes:
JavaCryptoRandom
,OpenSslCryptoRandom
,OpenSslJnaCryptoRandom
,OsCryptoRandom
public interface CryptoRandom extends java.io.Closeable
Generates random bytes.Note that implementations must provide a constructor that takes a Properties instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
nextBytes(byte[] bytes)
Generates random bytes and places them into a user-supplied byte array.
-