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.

`67890123451234567890`

__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. 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, breaker, 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.

The copy-paste of the page "ROT-5 Cipher" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!

Exporting results as a .csv or .txt file is free by clicking on the *export* icon

Cite as source (bibliography):

*ROT-5 Cipher* on dCode.fr [online website], retrieved on 2024-07-18,

rot,5,rot5,caesar,code,shift,digit,number

https://www.dcode.fr/rot5-cipher

© 2024 dCode — El 'kit de herramientas' definitivo para resolver todos los juegos/acertijos/geocaching/CTF.

Feedback