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 online 'ROT-5 Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'ROT-5 Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'ROT-5 Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'ROT-5 Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

Please, check our dCode Discord community for help requests! NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'ROT-5 Cipher' tool, so feel free to write! Thank you!

Thanks to your feedback and relevant comments, dCode has developed the best 'ROT-5 Cipher' tool, so feel free to write! Thank you!