JUCE
|
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... | |
BlowFish & | operator= (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... | |
BlowFish encryption class.
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.
|
noexcept |
Destructor.
Encrypts a pair of 32-bit integers.
Decrypts a pair of 32-bit integers.