public final class IVGenerator extends Object
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.
|
public static byte[] getIV()
public static byte[] getIV(int len)
len
- the length of the initialization vectorCopyright © 2020. All rights reserved.