Created
June 25, 2014 19:45
-
-
Save johnkeith/8f202967cd91698643c5 to your computer and use it in GitHub Desktop.
secret_secret_hash_challenge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'digest/md5' | |
| erics_hash = "b354e9b8c7a5fb1e073670a28f957032" | |
| ("a".."z").each do |first| | |
| ("a".."z").each do |second| | |
| ("a".."z").each do |third| | |
| ("a".."z").each do |fourth| | |
| ("a".."z").each do |fifth| | |
| ("a".."z").each do |sixth| | |
| test = first + second + third + fourth + fifth + sixth | |
| hashed = Digest::MD5.hexdigest(test) | |
| puts test | |
| abort if hashed == erics_hash | |
| end | |
| end | |
| end | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment