ANSIX919MAC

DES/3DES-based MAC from ANSI X9.19

Constructors

this
this(BlockCipher cipher)

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* mac)
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_des1
Unique!BlockCipher m_des1;
m_des2
Unique!BlockCipher m_des2;
Undocumented in source.
m_position
size_t m_position;
Undocumented in source.
m_state
SecureVector!ubyte m_state;
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