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