[REBOL] Re: Random CGI
From: rebol:techscribe at: 3-Feb-2001 22:23
Hi Terry, I'm using the following quick hack in a CGI program that appears to work well enough: create-password: func [/local alpha index password] [ alpha: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 random/seed now password: "" for i 1 8 1 [ index: random 62 insert password pick alpha index ] return password ] Hope this helps, Elan Terry Brownell wrote: