#include <BlockCipherXTEA.h>
Public Member Functions | |
| TBlockCipherXTEA () | |
| virtual Retval | encode (const IByteArray &rInput, IByteArray &rOutput) |
| virtual Retval | decode (const IByteArray &rInput, IByteArray &rOutput) |
| virtual Int | getBlockSizeForDecoding () const |
| virtual Int | getBlockSizeForEncoding () const |
| virtual void | setKey (Uint64 uldKey) |
| virtual void | setKey (const IByteArray &rKey) |
Protected Member Functions | |
| virtual | ~TBlockCipherXTEA () |
This class implements the block cipher XTEA (eXtended Tiny Encryption Algorithm).
| TBlockCipherXTEA::TBlockCipherXTEA | ( | ) |
creates the block cipher using the XTEA
| TBlockCipherXTEA::~TBlockCipherXTEA | ( | ) | [protected, virtual] |
destroys the block cipher
| Retval TBlockCipherXTEA::decode | ( | const IByteArray & | rInput, |
| IByteArray & | rOutput | ||
| ) | [virtual] |
Implements zeus::TAbstractCrypter.
| Retval TBlockCipherXTEA::encode | ( | const IByteArray & | rInput, |
| IByteArray & | rOutput | ||
| ) | [virtual] |
Implements zeus::TAbstractCrypter.
| Int zeus::TBlockCipherXTEA::getBlockSizeForDecoding | ( | ) | const [inline, virtual] |
Implements zeus::TAbstractCrypter.
| Int zeus::TBlockCipherXTEA::getBlockSizeForEncoding | ( | ) | const [inline, virtual] |
Implements zeus::TAbstractCrypter.
| void TBlockCipherXTEA::setKey | ( | Uint64 | uldKey ) | [virtual] |
Implements zeus::TAbstractCrypter.
| void TBlockCipherXTEA::setKey | ( | const IByteArray & | rKey ) | [virtual] |
Implements zeus::TAbstractCrypter.