|
Namespaces |
namespace | blowfish |
namespace | blowfish::core |
| Low-level utilities - for advanced users only.
|
Typedefs |
typedef core::BlockIterator | blowfish::DIter |
| Iterator used to traverse data in all encryption routines below.
|
Functions |
uint32 | blowfish::core::F (Pad const &pad, uint32 u) |
| The base scrambling function of Blowfish, using the S boxes.
|
Block | blowfish::core::encipherBlock (Pad const &pad, Block const &block) |
Block | blowfish::core::decipherBlock (Pad const &pad, Block const &block) |
| Standard sixteen round deciphering of block using pad.
|
Pad | blowfish::generatePad (void const *keyPtr, int keyLen) |
| Returns an encription pad generated using the specified key/password.
|
Block | blowfish::operator^ (Block const &a, Block const &b) |
| Returns a new block made of the xor-ed fields of a and b.
|
void | blowfish::encrypt_ECB (Pad const &pad, void const *src, void *dst, size_t byteSize) |
void | blowfish::decrypt_ECB (Pad const &pad, void const *src, void *dst, size_t byteSize) |
void | blowfish::encrypt_CBC (Pad const &pad, void const *src, void *dst, size_t byteSize, Block *pChain) |
void | blowfish::decrypt_CBC (Pad const &pad, void const *src, void *dst, size_t byteSize, Block *pChain) |
void | blowfish::encrypt_CFB (Pad const &pad, void const *src, void *dst, size_t byteSize, Block *pChain) |
void | blowfish::decrypt_CFB (Pad const &pad, void const *src, void *dst, size_t byteSize, Block *pChain) |
Variables |
Pad const | blowfish::core::defaultPiPad |
| default pad based on the decimals of pi
|
Implementation of the BLOWFISH algorithm. Reference: <