java.lang.Object | ||
↳ | org.bouncycastle.crypto.params.KeyParameter | |
↳ | org.bouncycastle.crypto.params.DESParameters |
Known Direct Subclasses |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DES_KEY_LENGTH |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DES has 16 weak keys.
| |||||||||||
DES Keys use the LSB as the odd parity bit.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.crypto.params.KeyParameter
| |||||||||||
From class
java.lang.Object
|
DES has 16 weak keys. This method will check if the given DES key material is weak or semi-weak. Key material that is too short is regarded as weak.
See "Applied Cryptography" by Bruce Schneier for more information.
DES Keys use the LSB as the odd parity bit. This can be used to check for corrupt keys.
bytes | the byte array to set the parity on. |
---|