Choose language

PL, EN, ES, DE, FR, RU


Caesar cipher - online encoder / decoder


Caesar cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Caesar cipher. You can use any shift and additionally a key for more precise text encoding.
Caesar cipher is a type of substitution cipher in which each letter of the plaintext (unencrypted) is replaced by a different letter (monoalphabetic cipher) separated from it by a fixed number of positions in the alphabet, and the direction of conversion must be respected. Using our encoder you can both encode and decode each text with the Caesar cipher. By default, the Caesar cipher does not contain the encryption key (except for the alphabet shift), so choose whether you want to use it. Then select Alphabet Shift. If you check the option to show all offsets then as a result of encoding / decoding you will get a cipher with each shift.





Caesar cipher - encoder / decoder


Use key:

Shift:

Key
Alphabet:  abcdefghijklmnopqrstuvwxyz
Key:  klmnopqrstuvwxyzabcdefghij



Have you counted? - like and share









Caesar cipher - encoder / decoder


Caesar Cipher (also known as shift cipher, Caesar cipher or Caesar shift) - one of the simplest encryption techniques. It is a type of substitution cipher in which each letter of plaintext (unencrypted) is replaced with a different letter (monoalphabetic cipher) separated from it by a fixed number of alphabetical positions, and the direction of replacement must be respected. It does not distinguish between uppercase and lowercase letters. The cipher name comes from Julius Caesar, who probably used this technique to communicate with his friends.

The encryption algorithm used in Caesar's code can be part of more complex encryption systems, such as the Vigenère cipher. Nowadays, the Caesar cipher is used with the displacement of 13 (ROT13), which is a simple and quick way to hide content. Currently, the Caesar cipher, like any technique that substitutes individual letters of the alphabet for other letters, does not offer any communication security.

The encryption method can be represented by a diagram of two strings with corresponding letters of the alphabet. The same letters of the second string are shifted relative to the first string by a certain number of positions, called the shift parameter (here 3) and serving as the cipher key:

Alphabet: ABCDEFGHIJKLMNOPRSTUWYZ
   Shift: CDEFGHIJKLMNOPRSTUWYZAB

Note that the last letters of the alphabet in the upper string correspond to the initial letters in the lower string (the alphabet has been "wrapped"). To encrypt a message, each letter should be replaced with an equivalent from the cipher (the message in the example is written in capital letters, although the cipher is case insensitive):

 Plaintext: THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
Ciphertext: GUR DHVPX OEBJA SBK WHZCF BIRE GUR YNML QBT

Decryption is about reversing this operation.

In the keyed version, the standard alphabet cannot be used, the key word must be entered first. The key is appended to the alphabet without repeating characters. In the example below, I used the 'calcoolator.pl' key. The duplicate letters and period have been removed from the key.

Alphabet: ABCDEFGHIJKLMNOPRSTUWYZ
     Key: IJKMNQSUVWXYZCALTRPBEGH

Then a 3 letter shift was applied.

Alphabet: ABCDEFGHIJKLMNOPRSTUWYZ
   Shift: OTRPBDEFGHIJKMNQUVWXZAL

We carry out further actions as in the cipher without a keyword.

The use of a unique key allows for more secure encryption of the message.


More on: Wikipedia - Caesar cipher

Users of this calculator also used

Affine cipher - encoder / decoder

Affine cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Affine cipher.

Profitability of investments: NPV (Net Present Value), PI (Profitability Index), IRR (Internal Rate of Return), DPP (Discounted Payback Period)

This calculator helps us check whether the planned investment will be profitable and whether the project should be accepted or rejected.
Thanks to the calculator, we can calculate:
NPV (Net Present Value) - sum of discounted net cash flows
PI (Profitability Index) - investment profitability
IRR (Internal Rate of Return) - internal rate of return
DPP (Discounted Payback Period) - discounted payback period
Value of discounted net cash flow for each period.

Rail Fence, Zig-Zag - encoder / decoder

Rail Fence, Zig-Zag cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Rail Fence, Zig-Zag cipher.

Storm distance, lightning distance calculator. How far is the storm?

How far is the storm? How close is lightning? Is the storm looming or is it moving away? Surely everyone has asked themselves such questions. That is why we have created a lightning distance calculator with which you can easily check it.

Vigenère cipher - encoder / decoder

Vigenère cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Vigenère cipher. You can use any shift and additionally a key for more precise text encoding.

Four-square cipher - encoder / decoder

Four-square cipher online encoder and decoder. Encrypt and decrypt any cipher created in a Four-square cipher. You can use any shift and additionally a key for more precise text encoding.

ROT47 cipher - encoder / decoder

ROT47 cipher online encoder and decoder. Encrypt and decrypt any cipher created in a ROT47 cipher. You can use any shift and additionally a key for more precise text encoding.



Online calculator