Use this compact code to generate a new password