Fork of François Berder Crypto, fixed AES CBC and small rework
Dependents: AES_example shaun_larada Smartage
Fork of Crypto by
Diff: Cipher.cpp
- Revision:
- 0:7a1237bd2d13
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Cipher.cpp Sat Sep 07 23:47:28 2013 +0000 @@ -0,0 +1,12 @@ +#include "Cipher.h" + +Cipher::~Cipher() +{ +} + + +CIPHER_TYPE Cipher::getType() const +{ + return getBlockSize() <= 1 ? STREAM_CIPHER : BLOCK_CIPHER; +} +