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
-
-
Field Summary
-
Fields inherited from class org.gudy.bouncycastle.crypto.CipherKeyGenerator
random, strength
-
-
Constructor Summary
Constructors Constructor Description DESKeyGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
generateKey()
generate a secret key.-
Methods inherited from class org.gudy.bouncycastle.crypto.CipherKeyGenerator
init
-
-
-
-
Method Detail
-
generateKey
public byte[] generateKey()
Description copied from class:CipherKeyGenerator
generate a secret key.- Overrides:
generateKey
in classCipherKeyGenerator
- Returns:
- a byte array containing the key value.
-
-