|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lowagie.text.pdf.crypto.IVGenerator
public final class IVGenerator
An initialization vector generator for a CBC block encryption. It's a random generator based on ARCFOUR.
| Field Summary | |
|---|---|
private static ARCFOUREncryption |
arcfour
|
| Constructor Summary | |
|---|---|
private |
IVGenerator()
Creates a new instance of IVGenerator |
| Method Summary | |
|---|---|
static byte[] |
getIV()
Gets a 16 byte random initialization vector. |
static byte[] |
getIV(int len)
Gets a random initialization vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static ARCFOUREncryption arcfour
| Constructor Detail |
|---|
private IVGenerator()
| Method Detail |
|---|
public static byte[] getIV()
public static byte[] getIV(int len)
len - the length of the initialization vector
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||