## zebulon2020 / AffineTransformC++

Explore and code with more than 5 million developers，Free private repositories ！：）
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Notice: Creating folder will generate an empty file .keep, because not support in Git

Implementation of encryption and decryption algorithm for affine transformation

#### 原理

$c=E_{a,b} (m)\equiv am+b \pmod{26}$

$m=D_{a,b} (c)\equiv a^{-1} (c-b)\pmod{26}$

a b c d e f g h i j k l m
0 1 2 3 4 5 6 7 8 9 10 11 12
n o p q r s t u v w x y z
13 14 15 16 17 18 19 20 21 22 23 24 25