From 24d8ab0f294f5d662eaef3409a300caa0d1d5025 Mon Sep 17 00:00:00 2001 From: StepanovPlaton Date: Tue, 3 Feb 2026 14:32:52 +0400 Subject: [PATCH] =?UTF-8?q?Update=20Posts=20=E2=80=9Cencryption=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/posts/encryption.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) 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 +:::