com.maverick.ssh.components.standalone
Class SecureRND

java.lang.Object
  extended by com.maverick.ssh.components.standalone.SecureRND
All Implemented Interfaces:
SshSecureRandomGenerator

public class SecureRND
extends Object
implements SshSecureRandomGenerator

Secure random implementation.

Author:
Lee David Painter

Constructor Summary
SecureRND()
           
 
Method Summary
static SecureRND getInstance()
           
 void nextBytes(byte[] bytes)
           
 void nextBytes(byte[] bytes, int off, int len)
           
 float nextFloat()
           
 int nextInt()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureRND

public SecureRND()
Method Detail

getInstance

public static SecureRND getInstance()

nextBytes

public void nextBytes(byte[] bytes)
Specified by:
nextBytes in interface SshSecureRandomGenerator

nextBytes

public void nextBytes(byte[] bytes,
                      int off,
                      int len)
Specified by:
nextBytes in interface SshSecureRandomGenerator

nextInt

public int nextInt()
Specified by:
nextInt in interface SshSecureRandomGenerator

nextFloat

public float nextFloat()
Specified by:
nextFloat in interface SshSecureRandomGenerator


Copyright © 2012. All Rights Reserved.