{
  "cipher": "test-vectors",
  "kind": "test-vectors",
  "description": "One test vector per translator: its sample text run through the engine with the default key, and the output decoded back.",
  "standard": "Each translator runs its own sample with the key a fresh translator starts with. decodesBack is the output run back through the same engine, or null for a one-way tool.",
  "notes": "Computed from the engine at build time, never typed in. fidelity is exact when decoding returns the input unchanged, letters when only case or spacing differs, lossy when information is lost (for example I and J sharing a Polybius cell) and one-way when the tool has no decoder. The same vectors are shown on the methodology page.",
  "map": {
    "morse": {
      "name": "Morse Code",
      "key": "None",
      "input": "SOS",
      "output": "... --- ...",
      "decodesBack": "sos",
      "fidelity": "letters",
      "tool": "https://cipherpad.dev/translate/morse"
    },
    "binary": {
      "name": "Binary Code",
      "key": "None",
      "input": "Hi",
      "output": "01001000 01101001",
      "decodesBack": "Hi",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/binary"
    },
    "text-to-binary": {
      "name": "Text to Binary",
      "key": "None",
      "input": "Hello",
      "output": "01001000 01100101 01101100 01101100 01101111",
      "decodesBack": null,
      "fidelity": "one-way",
      "tool": "https://cipherpad.dev/translate/text-to-binary"
    },
    "binary-to-text": {
      "name": "Binary to Text",
      "key": "None",
      "input": "01001000 01101001",
      "output": "Hi",
      "decodesBack": null,
      "fidelity": "one-way",
      "tool": "https://cipherpad.dev/translate/binary-to-text"
    },
    "braille": {
      "name": "Braille",
      "key": "None",
      "input": "cat",
      "output": "⠉⠁⠞",
      "decodesBack": "cat",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/braille"
    },
    "caesar": {
      "name": "Caesar Cipher",
      "key": "Shift 3",
      "input": "Attack at dawn",
      "output": "Dwwdfn dw gdzq",
      "decodesBack": "Attack at dawn",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/caesar"
    },
    "rot13": {
      "name": "ROT13",
      "key": "None",
      "input": "Spoiler ahead",
      "output": "Fcbvyre nurnq",
      "decodesBack": "Spoiler ahead",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/rot13"
    },
    "atbash": {
      "name": "Atbash Cipher",
      "key": "None",
      "input": "Hello",
      "output": "Svool",
      "decodesBack": "Hello",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/atbash"
    },
    "vigenere": {
      "name": "Vigenere Cipher",
      "key": "Keyword KEY",
      "input": "Meet me at noon",
      "output": "Wicd qc kx lysl",
      "decodesBack": "Meet me at noon",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/vigenere"
    },
    "pig-latin": {
      "name": "Pig Latin",
      "key": "None",
      "input": "hello world",
      "output": "ellohay orldway",
      "decodesBack": null,
      "fidelity": "one-way",
      "tool": "https://cipherpad.dev/translate/pig-latin"
    },
    "leetspeak": {
      "name": "Leetspeak (1337)",
      "key": "None",
      "input": "elite hacker",
      "output": "31173 h4ck3r",
      "decodesBack": "eiite hacker",
      "fidelity": "lossy",
      "tool": "https://cipherpad.dev/translate/leetspeak"
    },
    "a1z26": {
      "name": "A1Z26",
      "key": "None",
      "input": "cab",
      "output": "3-1-2",
      "decodesBack": "cab",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/a1z26"
    },
    "tap-code": {
      "name": "Tap Code",
      "key": "None",
      "input": "water",
      "output": "..... ..  . .  .... ....  . .....  .... ..",
      "decodesBack": "water",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/tap-code"
    },
    "nato-phonetic": {
      "name": "NATO Phonetic Alphabet",
      "key": "None",
      "input": "ACME",
      "output": "Alfa Charlie Mike Echo",
      "decodesBack": "acme",
      "fidelity": "letters",
      "tool": "https://cipherpad.dev/translate/nato-phonetic"
    },
    "base64": {
      "name": "Base64 Text",
      "key": "None",
      "input": "CipherPad",
      "output": "Q2lwaGVyUGFk",
      "decodesBack": "CipherPad",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/base64"
    },
    "pigpen": {
      "name": "Pigpen Cipher",
      "key": "None",
      "input": "SECRET",
      "output": "SECRET",
      "decodesBack": "SECRET",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/pigpen"
    },
    "playfair": {
      "name": "Playfair Cipher",
      "key": "Keyword KEY",
      "input": "Attack at dawn",
      "output": "BS SB IC BS GE XM",
      "decodesBack": "ATTACKATDAWN",
      "fidelity": "letters",
      "tool": "https://cipherpad.dev/translate/playfair"
    },
    "rail-fence": {
      "name": "Rail Fence Cipher",
      "key": "3 rails",
      "input": "Meet me at midnight",
      "output": "M aigetm tmdihee nt",
      "decodesBack": "Meet me at midnight",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/rail-fence"
    },
    "bacon-cipher": {
      "name": "Bacon Cipher",
      "key": "None",
      "input": "Meet me at noon",
      "output": "ABBAA AABAA AABAA BAABB / ABBAA AABAA / AAAAA BAABB / ABBAB ABBBA ABBBA ABBAB",
      "decodesBack": "meet me at noon",
      "fidelity": "letters",
      "tool": "https://cipherpad.dev/translate/bacon-cipher"
    },
    "affine-cipher": {
      "name": "Affine Cipher",
      "key": "a = 5, b = 8",
      "input": "Cryptography is fun",
      "output": "Spyfzampifry wu hev",
      "decodesBack": "Cryptography is fun",
      "fidelity": "exact",
      "tool": "https://cipherpad.dev/translate/affine-cipher"
    },
    "polybius-square": {
      "name": "Polybius Square",
      "key": "None",
      "input": "Secret meeting",
      "output": "43 15 13 42 15 44 / 32 15 15 44 24 33 22",
      "decodesBack": "secret meeting",
      "fidelity": "letters",
      "tool": "https://cipherpad.dev/translate/polybius-square"
    }
  },
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "CipherPad (https://cipherpad.dev)"
  },
  "lastUpdated": "2026-11-05",
  "docs": "https://cipherpad.dev/api",
  "tool": "https://cipherpad.dev/methodology#test-vectors"
}
