Skip to content

Instantly share code, notes, and snippets.

/gist:5284028

Created Apr 1, 2013
Embed
What would you like to do?
require 'digest/md5'
s = "a"
loop do
if Digest::MD5.hexdigest(s) =~ /^0e\d{8}/
puts Digest::MD5.hexdigest(s)
puts s
break
else
s.succ!
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment