Greenheart / pagecrypt

Password Protected Single Page Applications and HTML files
GNU Affero General Public License v3.0
233 stars 25 forks source link

Docs: Update usage for `generatePassword()` in README #43

Closed Greenheart closed 1 year ago

Greenheart commented 1 year ago

See updated docstring here: https://github.com/Greenheart/pagecrypt/blob/c85046814f9fb22daabc0f403db5e5d7d186e653/src/core.ts#L60-L82

It's also important to enforce the max length of the character set = 256 characters. This should likely be in the docstring too, so we could update generatePassword() too to reflect that.

Greenheart commented 1 year ago

Will be resolved in the next release