public class HMacWhirlpoolKeyGenerator extends VarLengthKeyGenerator
An application uses
KeyGenerator keyGen = KeyGenerator.getInstance("HmacWhirlpool");
for creating a KeyGenerator object for the HmacWhirlpool algorithm. For actually
generating the requested secret key from the KeyGenerator object
just created, an application calls the generateKey method after
optionally having initialized the generator with some random seed and/or
the required key length:
SecretKey key = keyGen.generateKey();
KeyGenerator,
SecretKey,
SecretKey,
HMacWhirlpool| Constructor and Description |
|---|
HMacWhirlpoolKeyGenerator()
Creates a new HMAC/WHIRLPOOL key generator.
|
engineGenerateKey, engineInit, engineInit, engineInit