Update Password_generator.php

Use bitmasking to reduce number of `$this->_random_positive_int()` lookups