How to add passphrase-protected content to a static website?

test if copy works

Demonstration

This particular content has been encrypted with the passphrase below. Please use it to view the content. Note: please make sure to not copy any whitespace (e.g. leading/trailing spaces) with the password, as it will be detected as wrong.

Protected Content

This content is encrypted using AES-GCM to protect non-public information. Decryption happens in your browser; your password is never sent to any server.

Please enter the password to view the content: