mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-03 20:30:49 +04:00
Delete Posts “encryption”
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
---
|
||||
draft: false
|
||||
encrypted: true
|
||||
title: Encryption Example22
|
||||
published: 2020-02-02
|
||||
pinned: false
|
||||
description: "Password: 123456"
|
||||
tags:
|
||||
- Encryption
|
||||
password: "123456"
|
||||
category: Examples
|
||||
---
|
||||
# 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
|
||||
---
|
||||
title: Encryption Example
|
||||
published: 2020-02-02
|
||||
encrypted: true
|
||||
password: "your-password"
|
||||
...
|
||||
---
|
||||
```
|
||||
|
||||
* `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).
|
||||
:::
|
||||
Reference in New Issue
Block a user