public final class IVGenerator
extends java.lang.Object
Modifier and Type | Method | 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 © 1998–2018. All rights reserved.