Password protect a static HTML page

Based on the crypto-js library, StatiCrypt uses AES-256 to encrypt your string with your passphrase in your browser (client side).

Download your encrypted string in a HTML page with a password prompt you can upload anywhere (see example).

HOW IT WORKS â–º

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 exemple) and you’re done: the javascript will prompt users for password, decrypt the page and load your HTML.

Disclaimer TL;DR: if you have extra sensitive data, you should probably use something else 🙂

StatiCrypt 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 are trivial to do at a really fast pace: use a long, unusual passphrase !

The concept is simple but this is a side project – not purporting to be bulletproof, feel free to contribute or report any thought to the GitHub project !