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.

# Modulo Cipher

## Modulo N Encoder

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

### How to encrypt using Modulo cipher?

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

One wants to crypt DCODE so 4,3,15,4,5 with the modulo 26.

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

For $$4$$ you can take $$654$$, as $$654 \equiv 4 \ mod 26$$

For $$3$$ you can 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.

Let 654,965,561,732,941 be the message and 26 the modulo.

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

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

### How to recognize Modulo ciphertext?

The ciphered message is constituted of somehow large random numbers.