This library implements some hash and cryptographic algorithms.
Dependents: ES_CW2_Starter_JIN EMBEDDED_CW2 EMBEDDED_CW2_Final Spinnybois ... more
Fork of Crypto by
cipher/TDES.h
- Committer:
- feb11
- Date:
- 2013-09-14
- Revision:
- 8:a090264e9b2d
- Parent:
- 7:2dbbdfb08123
File content as of revision 8:a090264e9b2d:
#ifndef TDES_H #define TDES_H #include "DES.h" class TDES : public BlockCipher { public : TDES(uint8_t *key1, uint8_t *key2, uint8_t *key3); TDES(uint8_t *key1, uint8_t *key2, uint8_t *key3, uint8_t *iv); private : virtual void encryptBlock(uint8_t *out, uint8_t *in); virtual void decryptBlock(uint8_t *out, uint8_t *in); DES a,b,c; }; #endif