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

StreamCipher Class Reference

abstract base class for stream ciphers. More...

#include <cryptlib.h>

Inheritance diagram for StreamCipher:

ARC4 CFBDecryption CFBEncryption OFB PanamaCipher PublicBlumBlumShub RandomAccessStreamCipher SapphireDecryption SapphireEncryption List of all members.

Public Methods

virtual ~StreamCipher ()
virtual byte ProcessByte (byte input)=0
 encrypt or decrypt one byte.

virtual void ProcessString (byte *inoutString,unsigned int length)
 encrypt or decrypt an array of bytes of specified length in place. More...

virtual void ProcessString (byte *outString,const byte *inString,unsigned int length)
 encrypt or decrypt an array of bytes of specified length, may assume inString != outString. More...


Detailed Description

abstract base class for stream ciphers.

Definition at line 129 of file cryptlib.h.


Constructor & Destructor Documentation

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

Definition at line 133 of file cryptlib.h.


Member Function Documentation

void StreamCipher::ProcessString ( byte * outString,
const byte * inString,
unsigned int length ) [virtual]
 

encrypt or decrypt an array of bytes of specified length, may assume inString != outString.

Reimplemented in ARC4, CFBEncryption, CFBDecryption, OFB, CounterMode, PanamaCipher, SapphireEncryption, SapphireDecryption, and SEAL.

Definition at line 45 of file cryptlib.cpp.

void StreamCipher::ProcessString ( byte * inoutString,
unsigned int length ) [virtual]
 

encrypt or decrypt an array of bytes of specified length in place.

Reimplemented in ARC4, CFBEncryption, CFBDecryption, OFB, CounterMode, PanamaCipher, SapphireEncryption, SapphireDecryption, and SEAL.

Definition at line 51 of file cryptlib.cpp.

Referenced by BlumGoldwasserPrivateKey::Decrypt(), BlumGoldwasserPublicKey::Encrypt(), PanamaCipher::ProcessByte(), SEAL::ProcessString(), PanamaCipher::ProcessString(), and StreamCipherFilter::Put().


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