🏴CTF Toolkit

Affine Cipher

Encode and decode using the Affine cipher: E(x) = (ax + b) mod 26. Key "a" must be coprime to 26. Frequently appears in CTF crypto challenges. This free ctf toolkit tool runs entirely in your browser — no data leaves your device, no account required, and it keeps working offline once the page has loaded.

affinecipherctfmodulararithmeticclassiclinearencode