Poly1305

DJB's Poly1305 Important note: each key can only be used once

Members

Functions

addData
void addData(const(ubyte)* input, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clone
MessageAuthenticationCode clone()
Undocumented in source. Be warned that the author may not have intended to support it.
finalResult
void finalResult(ubyte* output)
Undocumented in source. Be warned that the author may not have intended to support it.
keySchedule
void keySchedule(const(ubyte)* key, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
outputLength
size_t outputLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_buf
SecureVector!ubyte m_buf;
Undocumented in source.
m_buf_pos
size_t m_buf_pos;
Undocumented in source.
m_poly
SecureVector!ulong m_poly;
Undocumented in source.

Inherited Members

From MessageAuthenticationCode

verifyMac
bool verifyMac(const(ubyte)* mac, size_t length)

Verify a MAC.

clone
MessageAuthenticationCode clone()

Get a new object representing the same algorithm as this

name
string name [@property getter]

Get the name of this algorithm.

Meta