From: Florian Gross Date: 2005-01-04T20:06:34+09:00 Subject: Re: [QUIZ] Cryptograms (#13) Glenn Parker wrote: >> Would this do the job? (42 characters) >> >> l="a".."z";$><<[*l]<<$/< > That produces a cryptogram mapping, but a cryptogram consists of > ciphertext that has been created using such a mapping, so I think you > have to also read a plaintext and display the resulting ciphertext. Like this? (75 chars) > l=*"a".."z";m=l.to_s;n=l.sort_by{rand}.to_s;$><<$<.read.tr(m,n);warn m+$/+n