github issue #2: check options.pwchars.length <= 256