Implements AES-256-GCM encryption/decryption for files and directories using PBKDF2/Argon2 key derivation, nonce management, and authenticated encryption. Secures static data storage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills-zh:implementing-aes-encryption-for-data-at-restThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
AES(高级加密标准,Advanced Encryption Standard)是由 NIST(FIPS 197)标准化的对称分组密码(symmetric block cipher),用于保护机密和敏感数据。本技能涵盖在 GCM 模式下实现 AES-256 加密,用于加密静态文件和数据存储,包括正确的密钥派生(key derivation)、IV/nonce 管理和认证加密(authenticated encryption)。
AES(高级加密标准,Advanced Encryption Standard)是由 NIST(FIPS 197)标准化的对称分组密码(symmetric block cipher),用于保护机密和敏感数据。本技能涵盖在 GCM 模式下实现 AES-256 加密,用于加密静态文件和数据存储,包括正确的密钥派生(key derivation)、IV/nonce 管理和认证加密(authenticated encryption)。
| 模式 | 认证 | 可并行 | 使用场景 |
|---|---|---|---|
| GCM | 是(AEAD) | 是 | 网络数据、文件加密 |
| CBC | 否 | 仅解密 | 遗留系统、磁盘加密 |
| CTR | 否 | 是 | 流式加密 |
| CCM | 是(AEAD) | 否 | IoT、受约束环境 |
永远不要将原始密码用作加密密钥。始终使用以下方式派生密钥:
os.urandom() 生成 nonce(密码安全伪随机数生成器,CSPRNG)cryptography 库:pip install cryptography[salt: 16 字节][nonce: 12 字节][密文: 可变长度][标签: 16 字节]
npx claudepluginhub killvxk/cybersecurity-skills-zhImplements AES-256-GCM encryption for files and data at rest: key derivation with PBKDF2/Argon2, IV/nonce management, authenticated encryption, and directory tree encryption.
Implements AES-256-GCM encryption for files and data stores at rest, covering key derivation (PBKDF2, Argon2), IV/nonce management, and authenticated encryption.
Implements AES-256-GCM encryption/decryption for files and directories using Python's cryptography library. Covers PBKDF2/Argon2 key derivation, nonce management, and authenticated encryption.