Fill the given buffer with random characters.
Using this method, the password character array can easily
be reused for efficiency, or overwritten with new random
characters for security.
NOTE: If it is possible for a hacker to examine memory to find passwords,
the password should be overwritten in memory as soon as possible after i
is no longer in use.
Parameters: pass - buffer that will hold the password. the buffer, filled with random characters. |