Hi,

At Fri, 21 Sep 2007 07:05:10 +0900,
Ruby Maniac wrote in [ruby-talk:270110]:
> def scramble(fname)
>     _fname = fname + ".scrambled"
    File.new(fname, "rb") do |f|
      File.new(_fname, "wb+") do |ff|
        ff.write(f.read.tr("\0-\177", "\200-\377"))
      end
    end
> end

-- 
Nobu Nakada