#include "crypto.h"
Algorithm | Type | Key Length | Speed Relative to DES | Modes Implemented |
DES | block cipher | 8 bytes | -- | ecb, cbc, cfb64, ofb64, 3DES |
RC2 | block cipher | variable (16-bytes typical) | 1xDES | ecb, cbc, cfb64, ofb64 |
RC4 | stream cipher | variable (16 bytes typical) | 4xDES | ecb |
Blowfish | block cipher | variable (16 bytes typical) | 3xDES | ecb, cbc, cfb64, ofb64 |
IDEA | block cipher | variable (16 bytes typical) | 1xDES | ecb, cbc, cfb64, ofb64 |
CAST | block cipher | 16 bytes | ecb, cbc, cfb64, ofb64 | 1.5xDES |
RC5 | block cipher | variable (16 bytes typical) | ecb, cbc, cfb64, ofb64 | 2xDES |
Algorithm |
RSA |
Diffie-Hellman Key Exchange |
DSA |