rainbow tables

T

Thomas Roberts

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...
 
F

fedzor

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

do 'a' to "ZZZZZZZ"

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top