org.bouncycastle.crypto
public class CipherKeyGenerator extends Object
Field Summary | |
---|---|
protected SecureRandom | random |
protected int | strength |
Method Summary | |
---|---|
byte[] | generateKey()
generate a secret key.
|
void | init(KeyGenerationParameters param)
initialise the key generator.
|
Returns: a byte array containing the key value.
Parameters: param the parameters to be used for key generation