From: Gennady Date: 2004-06-16T04:02:16+09:00 Subject: Re: OT: Cool Signature! [was OpenSSL: patch] Hal Fulton wrote: > nobu.nokada@softhome.net wrote: > >> >> http://jarp.jin.gr.jp/ruby/jarh.rb >> > > Very entertaining! Are all these yours? If you are collecting > them from other people, you may add mine if you wish: > > str = "aa tut Rnrehoec Jykusbrh"; srand 0; 0.upto(999) {|i| > x = rand(23); str[x,2] = str[x,2].reverse! }; puts str > > > > Hal > > Hmm, I wonder why it does not work in Ruby 1.6.8, it prints R etJrbrhnotc uhaaku esy Is it because rand() differs so much in 1.8? Gennady.