Sample Private Post
This is a sample post that demonstrates the encryption feature of the blog. Some content below is password protected.
Public Content
This content is visible to everyone. You can write normal blog posts with regular content here.
Code Example
Here’s a sample code block:
| |
Protected Content
The following content is password protected. You can use the default password geekrun123 or specify a custom password.
Example 1: Using Default Password
Protected Content
This content is password protected. Please enter the password to continue.
Example 2: Using Custom Password
The following content uses a custom password: secret123
Protected Content
This content is password protected. Please enter the password to continue.
More Public Content
You can continue with regular content after the encrypted section. This demonstrates how you can mix public and private content in the same post.
Benefits of This Approach
- Flexibility: Mix public and private content in the same post
- Security: Client-side encryption keeps sensitive data safe
- User Experience: Smooth password entry with visual feedback
- SEO Friendly: Public content is still indexed by search engines
This post demonstrates the encryption feature. In real usage, you would replace the sample password with a more secure one.