#ifndef FILES_FILTERS_FILTERS_DECRYPTION_CRYPT_H #define FILES_FILTERS_FILTERS_DECRYPTION_CRYPT_H #include #include "object.h" static inline byte crypt(const byte text, const uint16_t key) { return text ^ (byte)(key >> 8); } static inline uint16_t cipherstream(const byte text, const uint16_t key) { return (uint16_t)(((unsigned)text + key) * 52845u + 22719u); } #endif