dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

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

Answers to Questions

How to encrypt using Rot5?

Rot 5 applies on the numbers in a message. It involves replacing a digit by another by adding 5 (modulo 10).

1234567890 6789012345

248 is crypted 793 by ROT-5

How to decrypt Rot-13 cipher?

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

1234567890 6789012345

793 re-becomes 248.

How to recognize ROT-5 ciphertext?

ROT-5 is used on the digits. Numbers that began with 1 now begin with 6 etc.

According to Benford's law, there should be more 6 than 4 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 the 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 reciproqual, this means that 2 consecutive encryptions lead to find the original number.

Ask a new question

Source code

dCode retains ownership of the source code of the script ROT-5 Cipher. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the ROT-5 Cipher script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK