---
slug: safe-encryption-skill
name: safe-encryption-skill
version: "0.1.0"
displayName: Safe Encryption
summary: "使用SAFE CLI加密解密管理密钥,后量子密码学,现代GPG替代方案,提升加密安全性"
  with post-quantum ...
license: MIT
description: |-
  Encrypt, decrypt, and manage keys with the SAFE CLI — a modern GPG alternative
  with post-quantum 。Use when 需要项目管理、任务规划、进度跟踪、团队协作时使用。不适用于实际人员绩效评估。适用于独立开发者、企业团队和自动化工作流场景。
tags:
- Other
tools:
  - - read
- exec
# Safe Encryption
pricing_tier: "L1-入门级"
pricing_model: "per_use"
suggested_price: 9.9
---

SAFE is a modern encryption CLI with post-quantum support, multi-recipient encryption, and composable authentication.

## Behavior Guidelines
> 已移至 `references/detail.md`

### Installation Debugging
> 已移至 `references/detail.md`

## Quick Reference
> 已移至 `references/detail.md`

### Key Storage Convention
> 已移至 `references/detail.md`

### Generate Keys
> 已移至 `references/detail.md`

### Manage Keys
> 已移至 `references/detail.md`

### Encrypt
> 已移至 `references/detail.md`

### Decrypt
> 已移至 `references/detail.md`

### Info
> 已移至 `references/detail.md`

### Piping (stdin/stdout)
> 已移至 `references/detail.md`

## 适用场景

### Protect API Keys / .env Files
> 已移至 `references/detail.md`

### Share Secrets with a Teammate
> 已移至 `references/detail.md`

### Encrypt Backup Before Cloud Upload
> 已移至 `references/detail.md`

### Encrypt Entire Directories
> 已移至 `references/detail.md`

### Git-Friendly Encrypted Secrets
> 已移至 `references/detail.md`

### Separation of Duties (Two People Required)
> 已移至 `references/detail.md`

### Two-Factor Encryption (Password + Key)
> 已移至 `references/detail.md`

### Team Encryption + Emergency Backup
> 已移至 `references/detail.md`

### Post-Quantum Hybrid Protection
> 已移至 `references/detail.md`

### Temporary Decryption (No File on Disk)
> 已移至 `references/detail.md`

### Password Rotation
> 已移至 `references/detail.md`

### Key Rotation (Compromised Key)
> 已移至 `references/detail.md`

## Composable Paths (AND vs OR Logic)
> 已移至 `references/detail.md`

## Editing Encrypted Files
> 已移至 `references/detail.md`

### Data Input Options
> 已移至 `references/detail.md`

### Read Bytes at Offset
> 已移至 `references/detail.md`

### Write Bytes at Offset (In-Place Edit)
> 已移至 `references/detail.md`

### Append Data
> 已移至 `references/detail.md`

### In-Place Editing Workflow
> 已移至 `references/detail.md`

## Managing Recipients (UNLOCK Blocks)
> 已移至 `references/detail.md`

## Algorithm Options
> 已移至 `references/detail.md`

### AEAD (Content Encryption)
> 已移至 `references/detail.md`

### Key Types
> 已移至 `references/detail.md`

### Key ID Modes
> 已移至 `references/detail.md`

### Password KDF
> 已移至 `references/detail.md`

### Key Hash Algorithm
> 已移至 `references/detail.md`

## Migration from GPG/PGP
> 已移至 `references/detail.md`

## Edge Cases & Tips
> 已移至 `references/detail.md`

## Troubleshooting
> 已移至 `references/detail.md`

## Security Notes
> 已移至 `references/detail.md`

### Password Security
> 已移至 `references/detail.md`

## Agent-to-Agent Encrypted Communication
> 已移至 `references/detail.md`

### First-Run Setup
> 已移至 `references/detail.md`

### Exchanging Keys Between Agents
> 已移至 `references/detail.md`

### Convention: Reply-To Keys
> 已移至 `references/detail.md`

### Workflow: Send a Message
> 已移至 `references/detail.md`

### Checking if a Message is For You
> 已移至 `references/detail.md`

### Workflow: Receive and Reply
> 已移至 `references/detail.md`

### Publishing Your Public Key
> 已移至 `references/detail.md`

### Handling Multiple Identities
> 已移至 `references/detail.md`

### Error Handling
> 已移至 `references/detail.md`

### Checking All Identities
> 已移至 `references/detail.md`

### Sharing via Pastebin
> 已移至 `references/detail.md`

### Posting a Public Message (Forum/Mailing List)
> 已移至 `references/detail.md`

## 依赖说明

### 运行环境
> 已移至 `references/detail.md`

### 依赖说明
| 依赖项 | 类型 | 是否必需 | 获取方式 |
|:-------|:-----|:---------|:---------|
| LLM API | API | 必需 | 由Agent内置LLM提供 |

### API Key 配置
> 已移至 `references/detail.md`

### 可用性分类
> 已移至 `references/detail.md`

## 核心能力
- Encrypt, decrypt, and manage keys with the SAFE CLI — a modern GPG alternative
  with post-quantum
- 触发关键词: safe, decrypt, encrypt, manage, keys, encryption, skill

## 使用流程
1. 确认运行环境满足依赖说明中的要求
2. 根据适用场景选择合适的使用方式
3. 执行操作并检查输出结果
4. 如遇错误，参考错误处理章节

## 示例
> 已移至 `references/detail.md`

### 示例1：基础用法
> 已移至 `references/detail.md`

## 常见问题
> 已移至 `references/detail.md`

### Q1: 如何开始使用Safe Encryption？
> 已移至 `references/detail.md`

### Q2: 遇到错误怎么办？
> 已移至 `references/detail.md`

### Q3: Safe Encryption有什么限制？
> 已移至 `references/detail.md`

## 已知限制
- 需要API Key，无Key环境无法使用
