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

Cipher.cpp

Committer:
feb11
Date:
2013-09-07
Revision:
0:7a1237bd2d13

File content as of revision 0:7a1237bd2d13:

#include "Cipher.h"

Cipher::~Cipher()
{
}


CIPHER_TYPE Cipher::getType() const
{
    return getBlockSize() <= 1 ? STREAM_CIPHER : BLOCK_CIPHER;
}