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
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:
remainder operator