RevealTheme logo

Codificador e Decodificador de Cifra de César

Codifique ou decodifique texto com uma cifra de César: substituição de letras de acordo com um deslocamento fixo.

Como usar esta ferramenta

  1. 1

    Type or paste your message into the text area.

  2. 2

    Drag the Shift slider to pick a key from -25 to +25; the default is 3.

  3. 3

    Read the transformed text in the gray output box, which updates instantly as you type or move the slider.

  4. 4

    To decode a message, set the shift to the negative of the value used to encode it (for example, use -3 to undo a +3 shift).

O que é a Cifra de César?

A cifra de César é um dos métodos de criptografia conhecidos mais antigos, que remonta à correspondência militar de Júlio César por volta do ano 50 a.C. Cada letra é deslocada um número fixo de posições no alfabeto. Com apenas 25 chaves possíveis, ela é quebrada trivialmente, mas é uma excelente ferramenta para ensinar os fundamentos da criptografia.

Casos de uso comuns

  • Teaching cryptography basics in a classroom by letting students watch each letter shift in real time.

  • Solving or creating Caesar-cipher puzzles in escape rooms, ARGs, and CTF challenges.

  • Decoding ROT13 text from forums or email by setting the shift to 13 or -13.

  • Brute-forcing an unknown shift: scrub the slider through all 25 values until readable text appears.

  • Generating lightly obfuscated spoiler text or hint answers that readers must shift back to reveal.

  • Prototyping and debugging encode/decode logic before wiring up a stronger cipher in your own code.

Perguntas frequentes

O que é um deslocamento de 13?
É o ROT13, um caso especial autoinverso em que aplicá-lo duas vezes devolve o texto original.

Ferramentas relacionadas