public class CipherKeyGenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected com.joshvm.java.security.SecureRandom |
random |
protected int |
strength |
Constructor and Description |
---|
CipherKeyGenerator() |
protected com.joshvm.java.security.SecureRandom random
protected int strength
public void init(KeyGenerationParameters param)
param
- the parameters to be used for key generationpublic byte[] generateKey()