added base36 encoding to genpasswd