net.jradius.util
Class RadiusRandom

java.lang.Object
  extended by net.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 getRandomPassword(int length)
           
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

getRandomPassword

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

getRandomString

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


Copyright © 2008 JRadius Project, All Rights Reserved.