|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.crypto.CipherKeyGenerator
org.bouncycastle.crypto.generators.DESKeyGenerator
public class DESKeyGenerator
| Field Summary |
|---|
| Fields inherited from class org.bouncycastle.crypto.CipherKeyGenerator |
|---|
random, strength |
| Constructor Summary | |
|---|---|
DESKeyGenerator()
|
|
| Method Summary | |
|---|---|
byte[] |
generateKey()
generate a secret key. |
void |
init(KeyGenerationParameters param)
initialise the key generator - if strength is set to zero the key generated will be 64 bits in size, otherwise strength can be 64 or 56 bits (if you don't count the parity bits). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DESKeyGenerator()
| Method Detail |
|---|
public void init(KeyGenerationParameters param)
init in class CipherKeyGeneratorparam - the parameters to be used for key generationpublic byte[] generateKey()
CipherKeyGenerator
generateKey in class CipherKeyGenerator
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||