Botan

Core Engine

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  CoreEngine: botan.engine.engine.Engine;

Core Engine


KeyedFilter  getCipherMode(const BlockCipher block_cipher, CipherDir direction, in string mode, in string padding);

Create a cipher mode filter object

Parameters
BlockCipher block_cipher a block cipher object
CipherDir direction are we encrypting or decrypting?
string mode the name of the cipher mode to use
string padding the mode padding to use (only used for ECB, CBC)