mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-03 20:30:49 +04:00
Update Posts “encryption”
This commit is contained in:
@@ -1,20 +1,19 @@
|
|||||||
---
|
---
|
||||||
title: Encryption Example
|
draft: false
|
||||||
published: 2020-02-02
|
|
||||||
description: 'Password: 123456'
|
|
||||||
encrypted: true
|
encrypted: true
|
||||||
|
title: Encryption Example22
|
||||||
|
published: 2020-02-02
|
||||||
pinned: false
|
pinned: false
|
||||||
|
description: "Password: 123456"
|
||||||
|
tags:
|
||||||
|
- Encryption
|
||||||
password: "123456"
|
password: "123456"
|
||||||
tags: [Encryption]
|
|
||||||
category: Examples
|
category: Examples
|
||||||
---
|
---
|
||||||
|
# Password Protected Post22
|
||||||
|
|
||||||
# Password Protected Post
|
|
||||||
|
|
||||||
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.
|
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
|
## Frontmatter Example
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -27,12 +26,11 @@ password: "your-password"
|
|||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
- `encrypted` - Whether encryption is enabled for the post.
|
* `encrypted` - Whether encryption is enabled for the post.
|
||||||
- `password` - The password required to unlock the content.
|
* `password` - The password required to unlock the content.
|
||||||
|
|
||||||
|
|
||||||
## Note
|
## Note
|
||||||
|
|
||||||
:::warning
|
:::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).
|
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).
|
||||||
:::
|
:::
|
||||||
|
|||||||
Reference in New Issue
Block a user