#include "codec_affine.hh" #include "math_tools.hh" namespace LibCryptAffinity { CodecAfine::CodecAfine() : Codec() { } Text CodecAfine::decode(Text cypher, KeyAfine key){ Text result = cypher; MathTools mt; int i; for (i=0; i