Port of hugo_encryptor in golang
Hugo Encrypt is an innovative tool designed for Hugo users wanting to secure their blog content. Built as a Golang port of the Hugo Encryptor, it leverages AES-256-GCM encryption to protect your posts, ensuring that sensitive information remains private. By automatically inserting the necessary JavaScript for decryption, it streamlines the process of presenting secured content to users with the correct passphrase.
With Hugo Encrypt, bloggers can effortlessly manage their secure posts while providing a seamless user experience for their readers. This tool is optimal for anyone looking to maintain confidentiality on their blog without sacrificing accessibility or ease of use.
Secure Encryption: Utilizes AES-256-GCM to encrypt post content, providing robust protection against unauthorized access.
JavaScript Integration: Automatically adds decryption JavaScript code into encrypted posts, ensuring a smooth user experience for readers who enter the correct passphrase.
Flexible Storage Options: Offers localStorage and sessionStorage for managing passphrase retention, allowing for custom behavior based on user preferences.
Multiple Installation Methods: Can be set up using a prebuilt binary, built from source, or run via Docker, catering to various user needs and environments.
Internationalization Support: Supports i18n to allow content to be displayed in the desired language, with easy configuration options.
Secure Content Requirement: Ensures compatibility with the WebCrypto API, meaning it only works on secure (HTTPS) sites to maintain data security.
User Control: Allows bloggers to customize the password settings and manage how long the encryption status lasts for each visitor, enhancing user security.
Important Usage Guidelines: Informs users about best practices for keeping source files private after encryption, ensuring sensitive post data remains confidential.