From: Albert Schlef Date: 2011-03-16T13:43:13+09:00 Subject: Re: SHA1 Decryption!! Brian Candler wrote in post #987608: > 1000.times do |i| > 1000.times do |j| > if Digest::SHA1.hexdigest("N59 52.%03d E017 42.%03d" % [i,j]) == TARGET > raise "Whoo! #{i} #{j}" You can't do this: there might be another location with the same hash. You have to prove (mathematically) that no two locations can have the same SHA1 hash. -- Posted via http://www.ruby-forum.com/.