cscamp ctf 2012 - crypto 100

Crypto 100 challenge requires decryption of a given ciphertext.


There is also an input field that takes in a plain text and responds with a ciphertext. By encrypting 'a' and 'A' we see that it provides the same output. Hence the cipher is case insensitive. The following code solves the challenge by generating a table of cipher text for a-z and then decrypts the given ciphertext using the mapping.


$ ruby cscamp_crypto100.rb
JUSTASMALLBLINDYCRYPTOGAMEZ

0 comments:

Post a Comment