public final class IVGenerator extends 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
private IVGenerator()
public static byte[] getIV()
public static byte[] getIV(int len)
len
- the length of the initialization vectorWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses