Rainbow tables

hi, here is my script so far to make rainbow tables

require ‘digest/md5’
string = “a”
File.open(“rainbow.txt”, “a”) do |f|
while string != “zzzzzzzz”
md5 = Digest::MD5.hexdigest(string)
f.puts string + " : " + md5
string = string.next
end
end

but string only goes into lowercase characters

i.e
z > aa
i want it to do
z > A

thanks…

On Jul 5, 2008, at 3:35 PM, Thomas Roberts wrote:

end

but string only goes into lowercase characters

i.e
z > aa
i want it to do
z > A

do ‘a’ to “ZZZZZZZ”

-------------------------------------------------------|
~ Ari
Some people want love
Others want money
Me… Well…
I just want this code to compile

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs