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