Search for a tool
ROT-5 Cipher

Tool to decrypt/encrypt digits with Rot5. ROT-5 is an application of ROT-13 to the numbers, the shift of 5 makes the cipher reversible for numbers.

Results

ROT-5 Cipher -

Tag(s) : Substitution Cipher

Share
Share
dCode and more

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!


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


Feedback and suggestions are welcome so that dCode offers the best 'ROT-5 Cipher' tool for free! Thank you!

ROT-5 Cipher

ROT5 Decoder

 


ROT5 Encoder

 


Answers to Questions (FAQ)

What is the ROT-5 Cipher? (Definition)

The ROT-5 cipher is a simple encryption method that involves shifting each digit 5 positions in 0123456789.

NB: it can also involve shifting letters 5 positions in the alphabet (see ROT cipher).

How to encrypt using Rot5?

ROT5 encryption applies on the digits in a message (ideally made of numbers). It consists in replacing a digit by another by adding 5 (modulo 10).

1234567890
6789012345

Example: 248 is encrypted 793 by ROT-5

For letters, the similar cipher method is ROT13

How to decrypt Rot-5 cipher?

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. Any algorithm for the "ROT-5 Cipher" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "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.) or any database download or API access for "ROT-5 Cipher" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "ROT-5 Cipher" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/rot5-cipher
In a scientific article or book, the recommended bibliographic citation is: ROT-5 Cipher on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/rot5-cipher

Need Help ?

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

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'ROT-5 Cipher' tool for free! Thank you!


https://www.dcode.fr/rot5-cipher
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback