Class SingletonRandomFactory
- java.lang.Object
-
- net.schmizz.sshj.transport.random.SingletonRandomFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.schmizz.sshj.common.Factory
Factory.Named<T>
-
-
Constructor Summary
Constructors Constructor Description SingletonRandomFactory(Factory<Random> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Random
create()
void
fill(byte[] bytes)
Fill the array of bytes with random values.void
fill(byte[] bytes, int start, int len)
Fill part of bytes with random values.
-