Skip to content

Instantly share code, notes, and snippets.

@cannikin
Created May 18, 2009 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cannikin/113714 to your computer and use it in GitHub Desktop.
Save cannikin/113714 to your computer and use it in GitHub Desktop.
#!/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