BlowFish Class Reference

BlowFish encryption class. More...

List of all members.

Public Member Functions

 BlowFish (const void *keyData, int keyBytes)
 Creates an object that can encode/decode based on the specified key.
 BlowFish (const BlowFish &other)
 Creates a copy of another blowfish object.
BlowFishoperator= (const BlowFish &other)
 Copies another blowfish object.
 ~BlowFish ()
 Destructor.
void encrypt (uint32 &data1, uint32 &data2) const throw ()
 Encrypts a pair of 32-bit integers.
void decrypt (uint32 &data1, uint32 &data2) const throw ()
 Decrypts a pair of 32-bit integers.

Detailed Description

BlowFish encryption class.


Constructor & Destructor Documentation

BlowFish::BlowFish ( const void *  keyData,
int  keyBytes 
)

Creates an object that can encode/decode based on the specified key.

The key data can be up to 72 bytes long.

BlowFish::BlowFish ( const BlowFish other  ) 

Creates a copy of another blowfish object.

BlowFish::~BlowFish (  ) 

Destructor.


Member Function Documentation

BlowFish& BlowFish::operator= ( const BlowFish other  ) 

Copies another blowfish object.

void BlowFish::encrypt ( uint32 data1,
uint32 data2 
) const throw ()

Encrypts a pair of 32-bit integers.

void BlowFish::decrypt ( uint32 data1,
uint32 data2 
) const throw ()

Decrypts a pair of 32-bit integers.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Apr 26 11:42:10 2010 for JUCE by  doxygen 1.6.3