dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day! A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Decryption of Rot5 is identical to the encryption because Rot5 is reversible.

6789012345 1234567890

Example:793 re-becomes 248 by ROT-5

How to recognize ROT-5 ciphertext?

ROT-5 converter is used on the digits. Numbers that began with 1 now begin with 6, the 2s become 7s etc. The shifting by 5 continues so on.

According to Benford's law, there should be more 6 than 4 among the first digits of the numbers in the ciphertext.

What are the variants of the Rot-5 cipher?

Rot-5 is already a variant of Rot13, itself a version of Caesar cipher with a shift of 13. Rot-5 is therefore a Caesar cipher with a shift of 5, but applied to an alphabet of digits.

It is common to associate a ROT-13 for coding the letters and ROT-5 for the numbers at the same time.

What a shift of 5 for Rot5?

A shift of 5 allows the code to be reciprocal/reversible/symmetric, this means that 2 consecutive encryptions lead to find the plain number.

Source code

dCode retains ownership of the "ROT-5 Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "ROT-5 Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or the "ROT-5 Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "ROT-5 Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

Cite dCode

The copy-paste of the page "ROT-5 Cipher" or any of its results, is allowed as long as you cite dCode!
Cite as source (bibliography): ROT-5 Cipher on dCode.fr [online website], retrieved on 2022-09-30, https://www.dcode.fr/rot5-cipher