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

MARC4 Class Reference

Modified ARC4: it discards the first 256 bytes of keystream which may be weaker than the rest. More...

#include <arc4.h>

Inheritance diagram for MARC4:

ARC4 RandomNumberGenerator StreamCipher VariableKeyLength List of all members.

Public Methods

 MARC4 (const byte *userKey,unsigned int keyLength=DEFAULT_KEYLENGTH,unsigned int discardBytes=256)

Detailed Description

Modified ARC4: it discards the first 256 bytes of keystream which may be weaker than the rest.

Definition at line 28 of file arc4.h.


Constructor & Destructor Documentation

MARC4::MARC4 ( const byte * userKey,
unsigned int keyLength = DEFAULT_KEYLENGTH,
unsigned int discardBytes = 256 )
 

Definition at line 98 of file arc4.cpp.


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