Crypto++ 8.9 Free C++ class library of cryptographic schemes

Classes
poly1305.h File Reference

Classes for Poly1305 message authentication code. More...

Go to the source code of this file.

## Classes
class | Poly1305_Base< T >
| Poly1305 message authentication code base class. More...
class | Poly1305< T >
| Poly1305 message authentication code. More...
class | Poly1305TLS_Base
| Poly1305-TLS message authentication code base class. More...
class | Poly1305TLS
| Poly1305-TLS message authentication code. More...

## Detailed Description

Classes for Poly1305 message authentication code.

Poly1305-AES is a state-of-the-art message-authentication code suitable for a wide variety of applications. Poly1305-AES computes a 16-byte authenticator of a variable-length message, using a 16-byte AES key, a 16-byte additional key, and a 16-byte nonce.

Crypto++ also supplies the IETF's version of Poly1305. It is a slightly different algorithm than Bernstein's version.

See also
  Daniel J. Bernstein The Poly1305-AES Message-Authentication Code (20050329), RFC 8439, ChaCha20 and Poly1305 for IETF Protocols and Andy Polyakov Poly1305 Revised

Since
  Poly1305 since Crypto++ 6.0, Poly1305TLS since Crypto++ 8.1

Definition in file poly1305.h.