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 開發領域的線上工具。專為開發者打造的線上工具,純前端執行,程式碼不離開瀏覽器。