public class DESedeParameters extends DESParameters
| Modifier and Type | Field and Description |
|---|---|
static int |
DES_EDE_KEY_LENGTH |
DES_KEY_LENGTH| Constructor and Description |
|---|
DESedeParameters(byte[] key) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isWeakKey(byte[] key,
int offset)
return true if the passed in key is a DES-EDE weak key.
|
static boolean |
isWeakKey(byte[] key,
int offset,
int length)
return true if the passed in key is a DES-EDE weak key.
|
setOddParitygetKeypublic static final int DES_EDE_KEY_LENGTH
public static boolean isWeakKey(byte[] key,
int offset,
int length)
key - bytes making up the keyoffset - offset into the byte array the key starts atlength - number of bytes making up the keypublic static boolean isWeakKey(byte[] key,
int offset)
key - bytes making up the keyoffset - offset into the byte array the key starts atCopyright © 2015. All rights reserved.