This library implements some hash and cryptographic algorithms.
Dependents: ES_CW2_Starter_JIN EMBEDDED_CW2 EMBEDDED_CW2_Final Spinnybois ... more
Fork of Crypto by
Diff: Cipher.cpp
- Revision:
- 0:7a1237bd2d13
diff -r 000000000000 -r 7a1237bd2d13 Cipher.cpp --- /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; +} +