staticrypt icon indicating copy to clipboard operation
staticrypt copied to clipboard

Password protect a static HTML page, decrypted in-browser in JS with no dependency. No server logic needed.

Results 50 staticrypt issues
Sort by recently updated
recently updated
newest added

GNU usually uses "``-" to indicate input file is stdin. Most unix/linux tools reads stdin by default if filepath(s) was not passed as argument. So as stdout. It would nice...

### What's happening ``` This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. ``` https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Quirks_mode_and_standards_mode ### What should be happening normal mode HTML+CSS...

bug

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:...

bug

## 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.

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.