Encrypt and decrypt a public example

Save this file and browser.mjs in the same folder. Serve with python -m http.server 8000 --bind 127.0.0.1 and open http://127.0.0.1:8000/demo.htm.

This demo uses the public password correct horse battery staple. Use only test data. A fresh salt and IV are generated on every run.

Expected result: HashyTools AES-GCM v2 test vector