net.jradius.util
Class RadiusRandom
java.lang.Object
net.jradius.util.RadiusRandom
public class RadiusRandom
- extends Object
A Random Number Generator (wrapper) for JRadius
- Author:
- David Bird
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadiusRandom
public RadiusRandom()
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 String getRandomPassword(int length)
getRandomPassword
public static String getRandomPassword(int length,
String allowedCharacters)
getRandomString
public static String getRandomString(int length)
Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.