RE: LZ: Random Numbers
[Prev][Next][Index][Thread]
RE: LZ: Random Numbers
On Wed, 9 Oct 1996, Frank wrote:
> huh? this is a little confusing for me, all i need is the code or an
> explanation (in moron terms) to produce a random number from 1-4 !
>
Right... I'll get back to you on that, if someone doesn't beat me to it...
<pre>
--
Chris Kuethe <ckuethe@gpu.srv.ualberta.ca> LPGV Electronics and Controls
RSA in 3 lines of PERL:
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
</pre>
References: