Jim Harkins
Jim Harkins
I'm trying to encrypt a large (140 MB) html page using this command (PowerShell 7): node .\cli\index.js .\page.html --password test --short --remember false I get this error: Exception has occurred:...
## Summary Compress data before encryption because it reduces size by about 30%, at a minimal additional compute cost compared to encryption and signing. This can produce in an encrypted...
## Summary Store encrypted data, which is as large as the source html file, as Base64. Reduces size by 1/3 and improves performance. Store the encrypted data as Base64. A...
## Summary Encrypted data, which is as large as the source html file, is encoded in the encrypted file as a hex string. Switching to Base64 encoding would reduce size...
## Summary codec.js/decode() may calculate encryptedDataHash multiple times. calculatedHMAC is based on encryptedDataHash which can be arbitrarily large. Recalculating this hash when the data hasn't changed is a performance bug....
In codec.js/decode(), digestMessage() can be called up to 3 times to hash 'encrypted' which may be large. This is a performance bug.
## Summary Adding a named return var to unnamed function makes it more self-documenting and improves readability. ## Resolves Fixes #224 ## Details - added replacementString return variable to improve...
## Summary Adding a named return var to unnamed function makes it more self-documenting and improves readability.
## Summary cleanup getRandomAlphanum() ## Fixes Resolves #222 ## Details - Removed unneeded "& 0xff" and related comment. - Removed byteArray variable - Renamed 'parsedInt' to randByte ## Notes for...
## Summary - remove unneeded '& 0xff' and related comment - update variable names - eliminate byteArray variable