|
From: Thomas Roberts on 5 Jul 2008 15:35 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... -- Posted via http://www.ruby-forum.com/.
From: fedzor on 6 Jul 2008 11:05 On Jul 5, 2008, at 3:35 PM, Thomas Roberts wrote: > 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
|
Pages: 1 Prev: Don't understand NoMethodError Next: irb not recognized in windows command line |