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

Committer:
feb11
Date:
Sat Sep 14 18:21:32 2013 +0000
Revision:
7:2dbbdfb08123
Parent:
Cipher.cpp@0:7a1237bd2d13
Child:
8:a090264e9b2d
added DES (not tested yet)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
feb11 0:7a1237bd2d13 1 #include "Cipher.h"
feb11 0:7a1237bd2d13 2
feb11 0:7a1237bd2d13 3 Cipher::~Cipher()
feb11 0:7a1237bd2d13 4 {
feb11 0:7a1237bd2d13 5 }
feb11 0:7a1237bd2d13 6
feb11 0:7a1237bd2d13 7
feb11 0:7a1237bd2d13 8 CIPHER_TYPE Cipher::getType() const
feb11 0:7a1237bd2d13 9 {
feb11 0:7a1237bd2d13 10 return getBlockSize() <= 1 ? STREAM_CIPHER : BLOCK_CIPHER;
feb11 0:7a1237bd2d13 11 }
feb11 0:7a1237bd2d13 12