http://mathschallenge.net/index.php?...ref=view&id=59
How fast do you think you can do that? Starting with 1 key and brute forcing till you unlock the xor cipher.
Printable View
http://mathschallenge.net/index.php?...ref=view&id=59
How fast do you think you can do that? Starting with 1 key and brute forcing till you unlock the xor cipher.
34.323432879256 years :cool:
maybe 34.323432879256 minsQuote:
Originally Posted by manavo11
lol
I mean its only 3 charecters.
if you brute forced all of ascii that would only be 16,777,216 different keys. If you only use common ascii like 0-9, A-Z, a-z then it would only be 238,328 different keys.
This is just something for fun of course... don't have to do it =P
just incase your curious:
(The Gospel of John, chapter 1) 1 In the beginning the Word already existed. He was with God, and he was God. 2 He was in the beginning with God. 3 He created everything there is. Nothing exists that he didn't make. 4 Life itself was in him, and this life gives light to everyone. 5 The light shines through the darkness, and the darkness can never extinguish it. 6 God sent John the Baptist 7 to tell everyone about the light so that everyone might believe because of his testimony. 8 John himself was not the light; he was only a witness to the light. 9 The one who is the true light, who gives light to everyone, was going to come into the world. 10 But although the world was made through him, the world didn't recognize him when he came. 11 Even in his own land and among his own people, he was not accepted. 12 But to all who believed him and accepted him, he gave the right to become children of God. 13 They are reborn! This is not a physical birth resulting from human passion or plan, this rebirth comes from God.14 So the Word became human and lived here on earth among us. He was full of unfailing love and faithfulness. And we have seen his glory, the glory of the only Son of the Father.
What was the key? :D
not gonna tell ya =PQuote:
Originally Posted by manavo11
first to post the key gets a cookie from me! :D
***
*opens mouth*
:D
Isn't it worth 5 mins of your time for a nice cookie?Quote:
Originally Posted by manavo11
It is "god"
how about noQuote:
Originally Posted by Tec-Nico
Yes it is.
I get the key being 'odg'
werd, actually the key I found to unlock it was dgoQuote:
Originally Posted by dsheller
the reason is due to my algorithm.... mistake on my part =P
Maybe me, you, and Tec just did it different ways, I mean we all got the same keys used just different combinations.
Quote:
Originally Posted by Maven
For i = 1 To Len(Message)
plainchar = Asc(Mid(Message, i, 1))
pk = Asc(Mid(key, (i Mod Len(key) + 1), 1))
buffer = buffer & Chr(plainchar Xor pk)
Next i
Yea our algoritms are different is why we produced different keys.Quote:
Originally Posted by dsheller
/me gives tec a cookie =)Quote:
Originally Posted by Tec-Nico
as promised!
Thanks. I used the order they gave us to make it match. But as all of you said, it all depends on our algorithms.