public class HMacSha224KeyGenerator extends VarLengthKeyGenerator
An application uses
KeyGenerator keyGen = KeyGenerator.getInstance("HmacSHA224");
for creating a KeyGenerator object for the HmacSHA224 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,
HMacSha224| Constructor and Description |
|---|
HMacSha224KeyGenerator()
Creates a new HMAC/SHA-224 key generator.
|
engineGenerateKey, engineInit, engineInit, engineInit