JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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.
 
 BlowFish (const BlowFish &)
 Creates a copy of another blowfish object.
 
BlowFishoperator= (const BlowFish &) noexcept
 Copies another blowfish object.
 
 ~BlowFish () noexcept
 Destructor.
 
void encrypt (uint32 &data1, uint32 &data2) const noexcept
 Encrypts a pair of 32-bit integers.
 
void decrypt (uint32 &data1, uint32 &data2) const noexcept
 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 )

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: