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

Modulo Cipher - dCode

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

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* !

Sponsored ads

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

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 convertion 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 one takes, for exemple 654, because 654 % 26 = 4

For 3 one takes, for exemple 965 because 965 % 26 = 3

The encrypted message is 654,965,561,732,941 (some other cipher message are possibles)

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 euclidian 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, ...

The ciphered message is consituted of somehow large random numbers.

dCode retains ownership of the source code of the script Modulo Cipher. Except explicit open source licence (free / freeware), any algorithm, applet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any snippet or function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in PHP (or 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 !

modulo,cipher,remainder,division,calculus,modular,euclide,euclidian,mod,modulus

Source : http://www.dcode.fr/modulo-cipher

© 2016 dCode — The ultimate 'toolkit' website to solve every problem. dCode