#include "../obfuscator.hpp" #include template constexpr char xor_(char c) { return c ^ key; } template constexpr char add(char c) { return c + Key; } template constexpr char comp(char c) { return f(g(c)); } int main() { using table = obfs::make_table< obfs::encoder_seq, add<10>, comp, add<10>>>, obfs::decoder_seq, add<-10>, comp, xor_<0x50>>>>; MAKE_STRING(str, "Hello World !", table); std::cout << str.decode() << std::endl; }