12 lines
247 B
C
12 lines
247 B
C
#ifndef ENCRYPTION_H
|
|
#define ENCRYPTION_H
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
extern const uint8_t XOR_KEY;
|
|
|
|
void xorCrypt(const char *input, char *output, uint8_t key);
|
|
uint16_t computeCRC16(const char *data);
|
|
|
|
#endif |