staticrypt
staticrypt copied to clipboard
Save encrypted data in HTML file as Base64.
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 by 1/3 and could improve performance.
Problem
Hex string encoding is too space inefficient to use for large data.
Proposed Solution
Store the encrypted data as Base64. A data URL is a great way to store data in an HTML file, and it supports Base64 encoding.