StatiCrypt使用AES-256和WebCrypto,用您的长密码加密您的html字符串,在您的浏览器(客户端)。
在带有密码提示的HTML页面中下载加密字符串,您可以在任何地方上传 ( 参见示例).
此页面为 庞玺桐汉化版 StatiCrypt(备注:未汉化算法产品,右上角图标连接到原作者仓库)。
Disclaimer if you are an at-risk activist, or have extra sensitive banking data, you should probably use something else!
StatiCrypt generates a static, password protected page that can be decrypted in-browser: just send or upload the generated page to a place serving static content (github pages, for example) and you're done: the javascript will prompt users for password, decrypt the page and load your HTML.
The page is encrypted with AES-256 in CBC mode (see why this mode is appropriate for StatiCrypt in #19). The password is hashed with PBKDF2 (599k iterations with SHA-256, plus 1k with SHA-1 for legacy reasons (see #159), for the added recommended total of 600k) and used to encrypt the page.
It basically encrypts your page and puts everything with a user-friendly way to use a
password in the new file. AES-256 is state of the art but
brute-force/dictionary attacks would be easy to do at a really fast pace: use a long,
unusual password!
=> To be safe, we recommend 16+ alphanum characters, and using a password manager like the
open-source Bitwarden.
Feel free to contribute or report any thought to the GitHub project.