This library implements some hash and cryptographic algorithms.

Dependents:   ES_CW2_Starter_JIN EMBEDDED_CW2 EMBEDDED_CW2_Final Spinnybois ... more

Fork of Crypto by Francois Berder

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;
+}
+