Added XTEA and Pearson Hashing.
Improved message encryption for RF24.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef _CRC16_H_
|
||||
#define _CRC16_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <util/crc16.h>
|
||||
|
||||
|
||||
class CRC16 {
|
||||
public:
|
||||
uint16_t calcCRC(const void* data, uint16_t len);
|
||||
inline bool checkCRC(uint16_t crc, const void* data, uint16_t len);
|
||||
};
|
||||
|
||||
|
||||
#endif /* _CRC16_H_ */
|
||||
Reference in New Issue
Block a user