net.schmizz.sshj.transport.random
Class JCERandom
java.lang.Object
net.schmizz.sshj.transport.random.JCERandom
- All Implemented Interfaces:
- Random
public class JCERandom
- extends Object
- implements Random
A Random implementation using the built-in SecureRandom PRNG.
|
Method Summary |
void |
fill(byte[] foo,
int start,
int len)
Fill the given byte-array with random bytes from this PRNG. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCERandom
public JCERandom()
fill
public void fill(byte[] foo,
int start,
int len)
- Fill the given byte-array with random bytes from this PRNG.
- Specified by:
fill in interface Random
- Parameters:
foo - the byte-arraystart - the offset to start atlen - the number of bytes to fill
Copyright © 2009-2012. All Rights Reserved.