public final class IVGenerator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static ARCFOUREncryption |
arcfour |
| Modifier | Constructor and Description |
|---|---|
private |
IVGenerator()
Creates a new instance of IVGenerator
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
getIV()
Gets a 16 byte random initialization vector.
|
static byte[] |
getIV(int len)
Gets a random initialization vector.
|
private static ARCFOUREncryption arcfour
public static byte[] getIV()
public static byte[] getIV(int len)
len - the length of the initialization vector