Skip to content

Instantly share code, notes, and snippets.

Created April 1, 2013 09:39
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