| java.lang.Object org.bouncycastle.crypto.params.KeyParameter org.bouncycastle.crypto.params.DESParameters org.bouncycastle.crypto.params.DESedeParameters
Method Summary | |
public static boolean | isWeakKey(byte[] key, int offset, int length) return true if the passed in key is a DES-EDE weak key. | public static boolean | isWeakKey(byte[] key, int offset) return true if the passed in key is a DES-EDE weak key. |
DES_EDE_KEY_LENGTH | final public static int DES_EDE_KEY_LENGTH(Code) | | |
DESedeParameters | public DESedeParameters(byte[] key)(Code) | | |
isWeakKey | public static boolean isWeakKey(byte[] key, int offset, int length)(Code) | | return true if the passed in key is a DES-EDE weak key.
Parameters: key - bytes making up the key Parameters: offset - offset into the byte array the key starts at Parameters: length - number of bytes making up the key |
isWeakKey | public static boolean isWeakKey(byte[] key, int offset)(Code) | | return true if the passed in key is a DES-EDE weak key.
Parameters: key - bytes making up the key Parameters: offset - offset into the byte array the key starts at |
Fields inherited from org.bouncycastle.crypto.params.DESParameters | final public static int DES_KEY_LENGTH(Code)(Java Doc)
|
Methods inherited from org.bouncycastle.crypto.params.DESParameters | public static boolean isWeakKey(byte[] key, int offset)(Code)(Java Doc) public static void setOddParity(byte[] bytes)(Code)(Java Doc)
|
Methods inherited from org.bouncycastle.crypto.params.KeyParameter | public byte[] getKey()(Code)(Java Doc)
|
|
|