HeronTool
English
Log in
EnglishEnglish 中文Chinese 繁體中文Chinese (Traditional) EspañolSpanish FrançaisFrench DeutschGerman PortuguêsPortuguese ItalianoItalian РусскийRussian العربيةArabic 日本語Japanese 한국어Korean हिन्दीHindi Bahasa IndonesiaIndonesian Tiếng ViệtVietnamese ไทยThai TürkçeTurkish PolskiPolish
HomeDev Tools › Affine Cipher

Affine Cipher

Encrypt or decrypt text with the affine cipher (a·x + b mod 26).

Code
Input Text
Output

How to Use

  1. Paste text.
  2. Set keys a and b (a must be coprime with 26).
  3. Encrypt or decrypt.

Use Cases

The affine cipher combines multiplication and shift: e(x) = ax + b mod 26.

Detailed Usage Guide

Paste the content you want to process into the input area; multi-line text is supported.

Choose the operation you need (encode/decode/convert/format, etc.); some tools have toggles or dropdowns.

Click the convert button to get the result, which can be copied or downloaded with one click.

Example: paste a JSON snippet and choose "Format" to get clearly indented JSON.

Tip: everything runs locally in your browser — your content is never uploaded, safe for sensitive data.

Nothing is uploaded — all processing happens locally in your browser.

Comment / Report / My Annotations

Please sign in first — Log in

Please sign in first — Log in

Please sign in first — Log in