Florian Gross
1/4/2005 11:04:00 AM
Glenn Parker wrote:
>> Would this do the job? (42 characters)
>>
>> l="a".."z";$><<[*l]<<$/<<l.sort_by{rand}<<$/
>
> 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