Follow us on Twitter!
Become the change you seek in the world. - Gandhi
Saturday, April 19, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 32
Guests Online: 30
Members Online: 2

Registered Members: 82839
Newest Member: fezphantom
Latest Articles
View Thread

HellBound Hackers | Challenges | Encryption

Author

encrypt 11, c/c++


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-02-10 11:32
i'm using OnePad alg to find Key and Plain
by testing all words, but for each Packet i found various Key-Plain !?

this is my c/c++ code(not all):

struct Cipher
{
int part[4];
};

Cipher OnePad(char *key, char *plain)
{
Cipher cipher;
for (int i=0; i<4; i++)
{
cipher.part[i] = toupper(key[i]) ^ toupper(plain[i]); // is this right ????
}
return cipher;
}
Author

RE: encrypt 11, c/c++

tkearn5000
Member



Posts: 32
Location: US
Joined: 13.04.09
Rank:
Newbie
Posted on 04-02-10 16:20
I'm not exactly sure what your code is doing as I don't know C.
Keep this in mind though. There might be a number of keys that turn each individual word into plaintext, but there should only be one word that works as a key for all three.

Also, the key and each of the three packets are four letter english words.


img7.imageshack.us/img7/6588/1993.png

Edited by tkearn5000 on 04-02-10 16:23
Author

RE: encrypt 11, c/c++


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 04-02-10 17:44
I'm not sure if your code is a spoiler but I think a reply will be. maybe pmage?


Author

RE: encrypt 11, c/c++


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-02-10 19:24
I did it.