For example, the Go language offers numerous cryptographic libraries that support common encryption algorithms such as AES and RSA. In the future, will Hugo provide similar functionality? I’d like to encrypt the main content during static site generation and then decrypt it on the client side using the Web Crypto API.
Hugo does not provide this capability. There have been a couple of related proposals (search the GitHub issue queue) but they have died on the vine due to lack of interest.
If I were you I’d look into CLI tools (e.g., StatiCrypt) that can encrypt after Hugo has rendered the site.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.