When XOR – is your friend…

October 1, 2010

When XOR - is your friend...

When XOR – is your friend…

Using a random enough input stream may sound like outright blasphemy to many if not all reading this; however in this article I will demonstrate when using it makes sense.
Hakin9 10/2010 https://hakin9.org

What you will learn…

  • Using a PRNG with XOR to create and analyze a self-keying cipher

What you should know…

  • Basic cryptographic knowledge, bash, C

One of my hobbies includes creating crypto challenges where I hide an English message string in a block of numbers and letters. The first challenger that can correctly find what the message exactly states and demonstrate the algorithm used (usually in a programmatic fashion) will win a cash prize. I’ve learned over the years that I have been making it far too difficult by creating too many twists and turns; and assuming too much about the depth of the challengers. With careful gauging I’ve created an easy way to stymie some of the wittiest challengers. Out of the 7 crypto challenges I’ve posted this year only 2 of them won, and this is why…

If you’d read this article in full version use link bellow for download (only for subscribers) 


Tagged with:

Leave a Comment

Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let us have a personal and meaningful conversation instead.

You must be logged in to post a comment.

IT MAGAZINES: Hakin9 Magazine | Pentest Magazine | eForensics Magazine | Software Developer's Journal | Hadoop Magazine | Java Magazine
IT Blogs: Hakin9 Magazine Blog | Pentest Magazine Blog | eForensics Magazine Blog | Software Developer's Journal Blog | Hadoop Magazine Blog | Java Magazine Blog
IT ONLINE COURSES: Pentest Laboratory
JOB OFFERS FOR IT SPECIALIST: Jobs on Hakin9 Magazine | Jobs on Pentest Magazine | Jobs on eForensics Magazine | Jobs on Software Developer's Journal | Jobs on Java Magazine | Jobs on Hadoop Magazine
Hakin9 Media Sp. z o.o. Sp. komandytowa ul. Postępu 17D, 02-676 Warszawa