Hashkitly
Encoders
Hashes
HMAC
Encryption
KDF & Keys
Utils
Guides
Privacy
Affine Cipher
💡
Affine cipher is classical and weak; not for security.
Encode
Decode
a:
b:
Run
Affine cipher — free, no upload (FAQs)
FAQs
Valid a values?
a must be coprime with 26, e.g., 1,3,5,7,9,11,15,17,19,21,23,25.
Related tools
Caesar
Vigenere
Affine cipher FAQs
FAQs
Valid 'a' values?
'a' must be coprime with 26 to ensure invertibility.