Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Crypto_light 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