Fork of François Berder Crypto, fixed AES CBC and small rework
Dependents: AES_example shaun_larada Smartage
Fork of Crypto by
DES.h
- Committer:
- feb11
- Date:
- 2013-09-12
- Revision:
- 5:06cd9c8afa0b
- Parent:
- 1:14a7cea431aa
File content as of revision 5:06cd9c8afa0b:
#ifndef DES_H #define DES_H #include "Cipher.h" class DES : public Cipher { public : DES(uint8_t* key); virtual void encrypt(uint8_t *out, uint8_t *in, uint32_t length); virtual void decrypt(uint8_t *out, uint8_t *in, uint32_t length); virtual uint32_t getBlockSize() const; CIPHER_TYPE getType() const; private : uint8_t keys[16][7]; }; #endif