[#Poly1305]
= Poly1305
:mrdocs:

C&plus;&plus; wrapper with std&colon;&colon;byte span interface around poly1305&lowbar;donna code&period;

== Synopsis

Declared in `&lt;crypto&sol;poly1305&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Poly1305;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:Poly1305/2constructor.adoc[`Poly1305`]         [.small]#[constructor]#
| Construct a Poly1305 object with a given 32&hyphen;byte key&period;
| xref:Poly1305/Finalize.adoc[`Finalize`] 
| Write authentication tag to 16&hyphen;byte out&period;
| xref:Poly1305/Update.adoc[`Update`] 
| Process message bytes&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:Poly1305/KEYLEN.adoc[`KEYLEN`] 
| Length of the keys expected by the constructor&period;
| xref:Poly1305/TAGLEN.adoc[`TAGLEN`] 
| Length of the output produced by Finalize()&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
