14.07.2015, 10:59
Quote:
Random(79) will give anything from 0 to 79, and we don't want our characters to start from 0 which is null in ASCII. Because of that, we are adding 47 to it so we'll get anything from / to ~.
|
Otherwise it's a decent tutorial, anyone dealing with passwords should be aware of hashing.