This library implements some hash and cryptographic algorithms.
Dependents: mBuinoBlinky PB_Emma_Ethernet SLOTrashHTTP Garagem ... more
RC4.h
00001 #ifndef RC4_H 00002 #define RC4_H 00003 00004 #include "StreamCipher.h" 00005 00006 class RC4 : public StreamCipher 00007 { 00008 public : 00009 00010 RC4(uint8_t *key, uint8_t keyLength); 00011 00012 private : 00013 00014 virtual uint8_t encryptByte(uint8_t in); 00015 virtual uint8_t decryptByte(uint8_t in); 00016 00017 uint8_t s[256]; 00018 uint8_t i,j; 00019 00020 }; 00021 00022 #endif
Generated on Tue Jul 12 2022 18:54:16 by 1.7.2