DeepSeal 目前提供 CLI 命令行工具和 SNX 加密文件格式。REST API 正在规划中。
SNX 是 DeepSeal 的标准加密文件格式,基于 JSON 结构,完全开放可解析。文件扩展名为 .snx。
SNX 文件结构:
{
"version": "1.0",
"algorithm": "AES-256-GCM",
"kdf": "PBKDF2-HMAC-SHA256",
"kdf_iterations": 100000,
"salt": "<base64-encoded 128-bit salt>",
"encrypted_dek": "<base64-encoded DEK ciphertext>",
"nonce": "<base64-encoded 96-bit nonce>",
"ciphertext": "<base64-encoded note ciphertext>",
"tag": "<base64-encoded 128-bit auth tag>",
"metadata": {
"created_at": "2026-06-25T10:00:00Z",
"notebook": "Personal"
}
}
字段说明:
DeepSeal 提供命令行工具 deepseal-cli,支持加密、解密、导出和列表操作。
加密笔记
$ deepseal-cli encrypt \ --input note.md \ --output note.snx \ --password "your-password"
解密笔记
$ deepseal-cli decrypt \ --input note.snx \ --output note.md \ --password "your-password"
导出所有笔记
$ deepseal-cli export \ --format snx \ --output ./backup/ \ --password "your-password"
列出笔记
$ deepseal-cli list \ --notebook "Personal"
DeepSeal 计划在 2027 年推出 REST API,面向团队版用户,支持以下能力:
REST API 当前处于规划阶段,尚未发布。关注 路线图 获取最新进展。