Greenheart / pagecrypt

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

Fix typo in comment - Remainder operator in JS is not the same thing as a modulo operator #26

Closed Greenheart closed 3 years ago

Greenheart commented 3 years ago

This is wrong: https://github.com/Greenheart/pagecrypt/blob/main/src/core.ts#L93

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Remainder

Solution:

Greenheart commented 3 years ago

Fixed in https://github.com/Greenheart/pagecrypt/commit/cc9811dabff3eaac76f648e4941d135cd6c762ce