Created
May 18, 2009 20:10
-
-
Save cannikin/113714 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env ruby | |
require 'digest/md5' | |
START = 0.to_s(16).rjust(32,'0') # pass a 32 character hash as an argument to start at something other than 0000000000000000000000000000000 | |
before = '' | |
after = ARGV[0] || START | |
while before != after | |
before = after | |
after = Digest::MD5.hexdigest(before) | |
end | |
puts "\nKember Identity Found: " + after |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment