JUCE
Public Member Functions | List of all members
BlowFish Class Reference

BlowFish encryption class. More...

Public Member Functions

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

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 )

Creates a copy of another blowfish object.

BlowFish::~BlowFish ( )
noexcept

Destructor.

Member Function Documentation

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

Copies another blowfish object.

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

Encrypts a pair of 32-bit integers.

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

Decrypts a pair of 32-bit integers.


The documentation for this class was generated from the following file: