Search for a tool
Modulo Cipher

Tool to decrypt/encrypt with modulo. Modulo calculations applied on numbers can make possible ciphering using the calculated values.

Results

Modulo Cipher -

Tag(s) : Cryptography, Substitution Cipher, Homophonic Substitution Cipher

dCode and you

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!

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Modulo Cipher tool. Thank you.

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

# Modulo Cipher

Sponsored ads

## Modulo N Encoder

Tool to decrypt/encrypt with modulo. Modulo calculations applied on numbers can make possible ciphering using the calculated values.

## Answers to Questions

### How to encrypt using Modulo cipher?

Modulo Cipher Encryption uses the modulo value and a sequence of numbers, characters must be converted into numbers, e.g. A=1, B=2, ... Z=26, but any numeric conversion (like the ASCII table) is fine.

Example: To crypt DCODE with the modulo 26, convert the text to numbers 4,3,15,4,5.

For each number to encrypt, calculate a random number which value is equal to the number to crypt.

Example: For $$4$$, take $$654$$, as $$654 \equiv 4 \ mod 26$$
For $$3$$, take $$965$$, as $$965 \equiv 3 \ mod 26$$.
The encrypted message is 654,965,561,732,941 (many other cipher message are possible)

### How to decrypt Modulo cipher?

Decryption requires to know the value of the Modulo and to know the series of number to decrypt.

Example: The encrypted message is 654,965,561,732,941with the modulo 26.

For each number N, calculate the value of the remainder in the euclidean division of N by the modulo to get the plain number.

Example: The plain text is 4,3,15,4,5, that can be translate into DCODE with A=1, B=2, ...

### How to recognize Modulo ciphertext?

The ciphered message is constituted of somehow large random numbers.

## Source code

dCode retains ownership of the source code of the script Modulo 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 Modulo Cipher script for offline use, for you, your company or association, see you on contact page !

## Questions / Comments

Team dCode read all messages and answer them if you leave an email (not published). It is thanks to you that dCode has the best Modulo Cipher tool. Thank you.

Source : http://www.dcode.fr/modulo-cipher
© 2017 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode