Talk:Random Password Generator

From Second Life Wiki
Jump to navigation Jump to search

correction

The script got edited to include the following:-

       // because llFrand is [0, mag)
       integer upperLimit = llStringLength(characters) + 1;

However, the range we want from (integer) llFrand() is 0 to string-length -1. Therefore the +1 is not needed, in fact it causes passwords to be generated of less than the desired length.