Package org.jivesoftware.smack.util
Class RandomUtil
- java.lang.Object
-
- org.jivesoftware.smack.util.RandomUtil
-
public class RandomUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RandomUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fillWithSecureRandom(byte[] bytes)
static int
nextSecureRandomInt()
static int
nextSecureRandomInt(int bound)
-
-
-
Constructor Detail
-
RandomUtil
public RandomUtil()
-
-
Method Detail
-
nextSecureRandomInt
public static int nextSecureRandomInt(int bound)
-
nextSecureRandomInt
public static int nextSecureRandomInt()
-
fillWithSecureRandom
public static void fillWithSecureRandom(byte[] bytes)
-
-