Thursday, February 4, 2016

Set 1 - Challenge 4

Original Challenge Description from matasano

Detect single-character XOR

One of the 60-character strings in this file has been encrypted by single-character XOR.
Find it.

My Solution

As the hint suggested previous code would help.  I realized that my English score engine could be modified to print the score first so that it would be easier to sort numerically based on the score.

So I changed the changed program to print "nnn is score"  instead of "score is nnn"  ( where nnn is the numeric score) and with some bash scripting, its party time!


I know, later I may have to change this a bit to handle everything within C program :)

No comments:

Post a Comment