net.sf.jradius.util
Class RadiusRandom

java.lang.Object
  extended by net.sf.jradius.util.RadiusRandom

public class RadiusRandom
extends java.lang.Object

A Random Number Generator (wrapper) for JRadius

Author:
David Bird

Constructor Summary
RadiusRandom()
           
 
Method Summary
static byte[] getBytes(int length)
          Generates an array of random bytes.
static java.lang.String getRandomString(int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadiusRandom

public RadiusRandom()
Method Detail

getBytes

public static byte[] getBytes(int length)
Generates an array of random bytes.

Parameters:
length - number of random bytes to generate
Returns:
array of random bytes

getRandomString

public static java.lang.String getRandomString(int length)


Copyright © 2006 The JRadius Project, All Rights Reserved.