Skip to content

Commit

Permalink
Add a description of WebCrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
Izumiko committed Jan 3, 2023
1 parent b8d9a18 commit f6948b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

`hugo-encrypt` is a tool that encrpyts content in your [Hugo](https://gohugo.io) posts. It uses AES-256-GCM to encrypt the contents of your posts, and inserts the necessary javascript code into the encrypted posts that decrypts the content after the correct passphrase has been entered.

P.S. due to the usage of WebCrypto API, hugo-encrypt only support secure content (ie. HTTPS), so unsecure content cannot call `crypto.subtle` to decrypt post.

1. [Installation and Usage](#installation-and-usage)

2. [Configuration](#configuration)
Expand Down

0 comments on commit f6948b9

Please sign in to comment.