diff --git a/src/content/posts/encryption.md b/src/content/posts/encryption.md index 6a20e49..0e3d124 100644 --- a/src/content/posts/encryption.md +++ b/src/content/posts/encryption.md @@ -1,20 +1,19 @@ --- -title: Encryption Example -published: 2020-02-02 -description: 'Password: 123456' +draft: false encrypted: true +title: Encryption Example22 +published: 2020-02-02 pinned: false +description: "Password: 123456" +tags: + - Encryption password: "123456" -tags: [Encryption] category: Examples --- - - -# Password Protected Post +# Password Protected Post22 This is an example of a password-protected post in the Twilight theme. The content below is encrypted using AES and can only be viewed by entering the correct password. - ## Frontmatter Example ```yaml @@ -27,12 +26,11 @@ password: "your-password" --- ``` -- `encrypted` - Whether encryption is enabled for the post. -- `password` - The password required to unlock the content. - +* `encrypted` - Whether encryption is enabled for the post. +* `password` - The password required to unlock the content. ## Note :::warning Do not use this for extremely sensitive information like bank passwords or private keys. The encryption happens on the client side, and the password itself is stored in the post's metadata (though usually not displayed directly). -::: \ No newline at end of file +:::