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

SapphireBase Class Reference

base class, do not use directly. More...

#include <sapphire.h>

Inheritance diagram for SapphireBase:

VariableKeyLength SapphireDecryption SapphireEncryption SapphireHash SapphireRNG List of all members.

Protected Methods

 SapphireBase ()
 SapphireBase (const byte *userKey,unsigned int keyLength)
 ~SapphireBase ()
void ShuffleCards ()

Protected Attributes

SecByteBlock cards
byte rotor
byte ratchet
byte avalanche
byte last_plain
byte last_cipher

Detailed Description

base class, do not use directly.

Definition at line 10 of file sapphire.h.


Constructor & Destructor Documentation

SapphireBase::SapphireBase ( ) [protected]
 

Definition at line 50 of file sapphire.cpp.

SapphireBase::SapphireBase ( const byte * key,
unsigned int keysize ) [protected]
 

Definition at line 55 of file sapphire.cpp.

SapphireBase::~SapphireBase ( ) [protected]
 

Definition at line 98 of file sapphire.cpp.


Member Function Documentation

void SapphireBase::ShuffleCards ( ) [inline, protected]
 

Definition at line 17 of file sapphire.h.


Member Data Documentation

byte SapphireBase::avalanche [protected]
 

Definition at line 31 of file sapphire.h.

SecByteBlock SapphireBase::cards [protected]
 

Definition at line 30 of file sapphire.h.

byte SapphireBase::last_cipher [protected]
 

Definition at line 31 of file sapphire.h.

byte SapphireBase::last_plain [protected]
 

Definition at line 31 of file sapphire.h.

byte SapphireBase::ratchet [protected]
 

Definition at line 31 of file sapphire.h.

byte SapphireBase::rotor [protected]
 

Definition at line 31 of file sapphire.h.


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