y = (a·x + b) mod 26,x 为字母序号(A=0 … Z=25)。x = a⁻¹·(y − b) mod 26,其中 a⁻¹ 是 a 模 26 的乘法逆元。Apply the Affine cipher (ax+b mod 26) in your browser — a simple monoalphabetic substitution for learning cryptography.
仿射密码是一款IT 开发领域的在线工具。专为开发者打造的在线工具,纯前端运行,代码不离开浏览器。