blowfish.h File Reference
Go to the source code of this file.
|
Classes |
| struct | blowfish::Block |
| | Unit of encryption. Block of data processed together during an encryption cycle. More...
|
| struct | blowfish::Pad |
| | Data pad used for encryption. Pseudo-random block used to have varying encryption results. More...
|
Namespaces |
| namespace | blowfish |
| namespace | blowfish::core |
| | Low-level utilities - for advanced users only.
|
Typedefs |
| typedef unsigned char | uint8 |
| typedef unsigned long | uint32 |
Enumerations |
| enum | { blowfish::kBlockSize = 2*4
} |
| | Source and destination data sizes must be multiples of this value. More...
|
Functions |
| Pad | blowfish::generatePad (void const *keyPtr, int keyLen) |
| | Returns an encription pad generated using the specified key/password.
|
| 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) |
| 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.
|
Detailed Description
Implementation of the BLOWFISH algorithm. Reference: <
http://www.counterpane.com/blowfish.html>
- Author:
- Ivan Vecerina - 2002
Definition in file blowfish.h.
Typedef Documentation
| typedef unsigned char uint8 |