Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MessageAuthenticationCode Class Reference

abstract base class for message authentication codes. More...

#include <cryptlib.h>

Inheritance diagram for MessageAuthenticationCode:

HashModule CBC_MAC DMAC HMAC MD5MAC PanamaMAC XMACC List of all members.

Public Methods

virtual ~MessageAuthenticationCode ()

Detailed Description

abstract base class for message authentication codes.

The main differences between a MAC and an hash function (in terms of programmatic interface) is that a MAC is keyed, and that calculating a MAC for the same message twice may produce two different results so verifying a MAC may not be simply recalculating it and doing a bitwise comparison.

Definition at line 242 of file cryptlib.h.


Constructor & Destructor Documentation

MessageAuthenticationCode::~MessageAuthenticationCode ( ) [inline, virtual]
 

Definition at line 246 of file cryptlib.h.


The documentation for this class was generated from the following file:
Generated at Mon Jan 15 01:16:55 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000