diff options
author | saturneric <[email protected]> | 2025-07-06 14:23:36 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-07-06 14:23:36 +0000 |
commit | 90c61ee2f8132464e88a17200a55076359f5e43f (patch) | |
tree | 52e88f9e5c538e2e56681f5ba3b02a0e685bc965 | |
parent | feat(docs): add guide for symmetric encryption and decryption (diff) | |
download | Manual-90c61ee2f8132464e88a17200a55076359f5e43f.tar.gz Manual-90c61ee2f8132464e88a17200a55076359f5e43f.zip |
style(docs): remove emoji icons and improve formatting in symmetric encryption guide
- Removed emoji icons for a cleaner presentation.
- Adjusted formatting for better readability.
- Ensured consistent heading styles throughout the document.
-rw-r--r-- | src/content/docs/guides/symmetric-encrypt-decrypt.mdx | 51 |
1 files changed, 27 insertions, 24 deletions
diff --git a/src/content/docs/guides/symmetric-encrypt-decrypt.mdx b/src/content/docs/guides/symmetric-encrypt-decrypt.mdx index 30512fa..898e9de 100644 --- a/src/content/docs/guides/symmetric-encrypt-decrypt.mdx +++ b/src/content/docs/guides/symmetric-encrypt-decrypt.mdx @@ -4,7 +4,7 @@ sidebar: label: Symmetric Crypto --- -## 🔐 What Is Symmetric Encryption? +## What Is Symmetric Encryption? **Symmetric encryption** is a method of securing data where the **same password** is used to both encrypt and decrypt information. @@ -13,42 +13,44 @@ Unlike **asymmetric encryption**, which uses a public/private key pair, symmetric encryption relies on a single shared secret (the password). This approach is: -- ✅ Fast and efficient -- ✅ Ideal for large files or quick one-time sharing -- ❗ Best used when both parties can safely share the password +- Fast and efficient +- Ideal for large files or quick one-time sharing +- Best used when both parties can safely share the password -> 📌 If someone intercepts the password, the encrypted data is no longer secure -> — so always handle password exchange carefully. +> If someone intercepts the password, the encrypted data is no longer secure — +> so always handle password exchange carefully. -## 🔄 How It Works +## How It Works 1. You choose a **strong password**. 2. That password is used to **encrypt** the data. 3. Anyone with the **same password** can **decrypt** it. 4. No key pair is required — only the shared password. -> 📎 Encryption security depends entirely on the strength and secrecy of the +> Encryption security depends entirely on the strength and secrecy of the > password used. -## ✍️ Encrypting Data Symmetrically +## Encrypting Data Symmetrically To encrypt text using symmetric encryption in GpgFrontend (v2.1.9 and later): -Enable Symmetric Encryption Feature +### Enable Symmetric Encryption Feature 1. Go to the Settings. -2. Under the Appearance tab, check the `Sym. Encrypt` checkbox to enable symmetric encryption functionality. +2. Under the Appearance tab, check the `Sym. Encrypt` checkbox to enable + symmetric encryption functionality. -Access the Symmetric Encryption Button +### Access the Symmetric Encryption Button -1. After enabling, you’ll see a dedicated `Sym. Encrypt` button on the main interface. +After enabling, you’ll see a dedicated `Sym. Encrypt` button on the main +interface. -Enter the Text or Select a File +### Enter the Text or Select a File - Input the plaintext you wish to protect in the text editor. - Select a file to encrypt using the file panel. -Symmetric Encryption +### Symmetric Encryption 1. Without selecting any public key, click the `Sym. Encrypt` button. 2. When prompted, enter a strong, unique password. @@ -56,21 +58,22 @@ Symmetric Encryption 4. The text or file will be encrypted into ciphertext. 5. You can save or share the encrypted result. -> 🔐 The recipient will need the **exact same password** to decrypt the message. +> The recipient will need the **exact same password** to decrypt the message. -## 🔓 Decrypting Symmetric Encrypted Data +## Decrypting Symmetric Encrypted Data To decrypt content that was encrypted symmetrically: -1. Paste the Ciphertext: The message should begin with `-----BEGIN PGP MESSAGE-----` and end with `-----END PGP MESSAGE-----`. +1. Paste the Ciphertext: The message should begin with `-----BEGIN PGP + MESSAGE-----` and end with `-----END PGP MESSAGE-----`. 2. Initiate Decryption: Choose to decrypt the message. -3. Enter the Password: Input the **same password** that was used for - encryption. -4. View the Plaintext: If the password is correct, the original message will be revealed. +3. Enter the Password: Input the **same password** that was used for encryption. +4. View the Plaintext: If the password is correct, the original message will be + revealed. -> 🧠 If the password is incorrect or mistyped, decryption will fail. +> If the password is incorrect or mistyped, decryption will fail. -## 💡 When to Use Symmetric Encryption? +## When to Use Symmetric Encryption? Symmetric encryption is a great choice when: @@ -83,7 +86,7 @@ Symmetric encryption is a great choice when: However, it is **not ideal** for public communication where secure password exchange is difficult. -## 🛡️ Tips for Better Security +## Tips for Better Security - Always use a **strong, complex password** (longer is better). - Never send passwords through insecure channels (e.g., unencrypted email). |