Package org.xipki.util
Class RandomUtil
- java.lang.Object
-
- org.xipki.util.RandomUtil
-
public class RandomUtil extends Object
Random utility class.- Since:
- 2.1.0
- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description RandomUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]nextBytes(int num)static StringnextHexLong()static intnextInt()static intnextInt(int bound)static longnextLong()
-
-
-
Method Detail
-
nextHexLong
public static String nextHexLong()
-
nextLong
public static long nextLong()
-
nextInt
public static int nextInt()
-
nextInt
public static int nextInt(int bound)
-
nextBytes
public static byte[] nextBytes(int num)
-
-