Algorithm | Key Size | Block Size | RAM | Flash |
---|---|---|---|---|
AES | 128/192/256 bits | 128 bits | 0,6 KB | 9,6 KB |
DES | 56 bits | 64 bits | 0,3 KB | 8,4 KB |
3DES | 3 keys of 64 bits | 64 bits | 0,3 KB | 8,5 KB |
Blowfish | 32 - 448 bits | 64 bits | 0,2 KB | 12,8 KB |
Note - It is worth notice that the most RAM consuming algorith (AES) only uses 2,27% of Arduino RAM resources and the most FLASH consuming algorithm (Blowfish) only uses 5% of Arduino available Flash resources.
User-friendly C++ library built to embedded sytems and IoT devices. Built to ensure a level of security to IoT communications, specially to constrained IoT devices. This library includes the encryption algorithms as AES, DES, 3DES or TDES, Blowfish. All encryption algorithms include ECB (Electronic CodeBook) mode and CBC (Cipher-block chaining) in the encryption and decryption process.
You have some examples in the examples folders, that can help you using the algorithms.
This library has been tested with some test vectores.
Everyone who is interested in contribuiting to this project are welcome!! You can do it by clonning this repository.
Any detected issue, please report it!