Re: Random Password

new topic     » goto parent     » topic index » view thread      » older message » newer message

if you compute digits seperately 
then you could do something like this.
 I'm using hex pairs for the password here.
  
 --6 digit password 
 sequence v 
  v = {}
 for i = 1 to 3 do 
 v &= rand(256)-1
 --add some delay. 
 --You might reject having 2 identical numbers in a row, etc..
 end for 

 printf(screen, "%02x%02x%02x --\n", 
 v[1] & v[2] & v[3]  )

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu