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 vector
Copyright © 1998–2019. All rights reserved.