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.
Dependents: AES_example shaun_larada Smartage
Fork of Crypto by
TDES.h
00001 #ifndef TDES_H 00002 #define TDES_H 00003 00004 #include "DES.h" 00005 00006 class TDES : public BlockCipher 00007 { 00008 public : 00009 00010 TDES(uint8_t *key1, uint8_t *key2, uint8_t *key3); 00011 TDES(uint8_t *key1, uint8_t *key2, uint8_t *key3, uint8_t *iv); 00012 00013 private : 00014 00015 virtual void encryptBlock(uint8_t *out, uint8_t *in); 00016 virtual void decryptBlock(uint8_t *out, uint8_t *in); 00017 00018 00019 DES a,b,c; 00020 }; 00021 00022 #endif
Generated on Mon Jul 18 2022 02:59:39 by
1.7.2
