Page 1 of 1

Encryption madness

PostPosted: 31 Jan 2014, 18:53
by joppiesaus
Hello, I made a nice puzzle just for you.
It's about encryption, I made a simple encryption program. It works great!

Here's the story:
I "forgot" how it actually worked(not really). I want you to find out how it works!

Here's the program!

Rules:
  • Don't use decompilers
  • I want a step-by-step guide what happens when you encrypt a piece of text. For example:
    1: the string is devided into seperated characters
    2: The characters are placed backwards
    3...

Hints:
  • The system picks the ASCII value of characters
  • A "d" has a value of 100!
  • Something gets multiplied by two
  • - and + is used, each one time
  • Range is the range of the random


Your reward is... the source code! If the answer is (close to) right of course.

Have fun! :ugeek:

Re: Encryption madness

PostPosted: 31 Jan 2014, 20:24
by Leeizazombie
This was my attempt to make a formula, but I guess it didn't work the second time I tried

1st attempt:
Code: Select all
range = 20
d = 100

Equation: d = [2:1_201;]

1 + 201 = 202.

d = [2:202]

202 / 2 = 102

d = [2:102]

2 - 102 = d

d = 100



And using the same method:

Code: Select all
range = 20
d = 100

Another test [26:-9_413;]

-9 + 413 = 404

d = [26:404;]

404 / 2 = 202

d = [26:202]

26 - 202 = d

d = 176... False


I wasn't sure if I made a mistake in the second one, but hey, I tried :P

Re: Encryption madness

PostPosted: 31 Jan 2014, 20:31
by joppiesaus
Leeizazombie wrote:I wasn't sure if I made a mistake in the second one, but hey, I tried :P

Close! You have one part correct, the / part!