Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Cryptography: fun for everyone.
Cryptography: fun for everyone.
2004-08-25, 1:32 PM #1
Some people from #massassi were interested in crypt, so I thought I might start something about it.

Simple Translations
A message translated into a numerical code based on simple maths. I thought it would be fun if we encrypted and decrypted messages using basic maths (Don’t worry – nothing hard)

Example:
Each part of the message is broken into 3 letter blocks (I am dog = IAM DOG)

IAM = (8 * 26²) + (0 * 26) + 12 = 5420
DOG = (3 * 26²) + (14 * 26) + 6 = 2398

Where (A = 0, B = 1, C = 2, D = 3… Z = 25), thus D = 3, O = 14, and G = 6.

So thereforce,

I am dog = 5420 2398

Reverse translation is simple, you can use basic algebra or mod functions (the remainder).

Example:

Code is 17575
To get the first letter, 17575 divide by 26² (676) gives you 25 rounded (Z)
Second letter is the remainder of 17575 / 25 to give you 675
675 / 26 = 25 rounded (Z)
Third letter is the remainder of 675 / 25 which should give you 25 (Z) again
Therefore 17575 decrypted is ZZZ.


Some more translations for you to decrypt:
(Code C1): 1041
(Code C2): 3767
(Code C3): 5708 14313 9831 7558

Try and come up with some of your own for other people to decrypt (Remember to break your message into 3 character blocks, and name your codes so people don’t have to quote them).


Edit: my bad.

[This message has been edited by CavEmaN (edited August 25, 2004).]
2004-08-25, 2:34 PM #2
C1: BOB
C2: FOX
C3: I LOVE NOODLES

------------------
"The interesting thing about video games is the way you can take about 50 shotgun blasts to the head and be instantly healed by a little white box with a cross on it."
Stuff
2004-08-25, 3:05 PM #3
all correct!

(Code C4): 8130 12186 12376
(Code C5): 0
(Code C6): 12364 10538 8956 297
(Code C7): 5750 2800 9780 3758 2536 2723
(Code C8): 0 2 19 25 27
2004-08-25, 11:59 PM #4
I take it, this is little too cerebral for you slackers.
2004-08-26, 12:10 AM #5
I do nothing but maths at uni, so I take my holiday time too seriously for this! [http://forums.massassi.net/html/biggrin.gif]

If it was term time, this'd be a nice distraction though [http://forums.massassi.net/html/wink.gif]

------------------
If at first you don't succeed, lower your standards.

↑ Up to the top!