org.gudy.bouncycastle.crypto.generators
Class DESKeyGenerator
java.lang.Object
org.gudy.bouncycastle.crypto.CipherKeyGenerator
org.gudy.bouncycastle.crypto.generators.DESKeyGenerator
- Direct Known Subclasses:
- DESedeKeyGenerator
public class DESKeyGenerator
- extends CipherKeyGenerator
Method Summary |
byte[] |
generateKey()
generate a secret key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESKeyGenerator
public DESKeyGenerator()
generateKey
public byte[] generateKey()
- Description copied from class:
CipherKeyGenerator
- generate a secret key.
- Overrides:
generateKey
in class CipherKeyGenerator
- Returns:
- a byte array containing the key value.