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.
ROT-5 Cipher - dCode
Tag(s) : Substitution Cipher
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!
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).
Decryption of Rot5 is identical to the encryption because Rot5 is reversible.
6789012345
1234567890
Example: 793 re-becomes 248 by ROT-5
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.
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.
A shift of 5 allows the code to be reciprocal/reversible/symmetric, this means that 2 consecutive encryptions lead to find the plain number.
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.
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:
In a scientific article or book, the recommended bibliographic citation is: ROT-5 Cipher on dCode.fr [online website], retrieved on 2025-04-16,