Poly1305

C++ wrapper with std::byte span interface around poly1305_donna code.

Synopsis

Declared in <crypto/poly1305.h>

class Poly1305;

Member Functions

NameDescription
Poly1305 [constructor]Construct a Poly1305 object with a given 32-byte key.
Finalize Write authentication tag to 16-byte out.
Update Process message bytes.

Static Data Members

NameDescription
KEYLEN Length of the keys expected by the constructor.
TAGLEN Length of the output produced by Finalize().