public class Poly1305KeyGenerator extends VarLengthKeyGenerator
An application uses
for creating a KeyGenerator object for the Poly1305 algorithm. For actually generating the requested secret key from the KeyGenerator object just created, an application calls theKeyGenerator key_gen = KeyGenerator.getInstance("Poly1305", "IAIK");
generateKey
method after
having initialized the generator with some random seed or relied on the
default system-provided source of randomness:
SecretKey key = key_gen.generateKey();
KeyGenerator
,
SecretKey
Constructor and Description |
---|
Poly1305KeyGenerator()
Creates a new Poly1305 key generator.
|
engineGenerateKey, engineInit, engineInit, engineInit