Implements AES-256-GCM encryption/decryption for files and directories using PBKDF2/Argon2 key derivation, nonce management, and authenticated encryption. Secures static data storage.
npx claudepluginhub killvxk/cybersecurity-skills-zhThis skill uses the workspace's default tool permissions.
AES(高级加密标准,Advanced Encryption Standard)是由 NIST(FIPS 197)标准化的对称分组密码(symmetric block cipher),用于保护机密和敏感数据。本技能涵盖在 GCM 模式下实现 AES-256 加密,用于加密静态文件和数据存储,包括正确的密钥派生(key derivation)、IV/nonce 管理和认证加密(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.
Implements AES-256-GCM encryption/decryption for files and directories in Python using cryptography lib, with PBKDF2/Argon2 key derivation and secure nonce management.
Provides secure-by-default patterns for encryption at rest with SQLCipher AES-256-GCM, Argon2id key derivation, key management, and secure memory in Python, TypeScript, Rust, Go.
Share bugs, ideas, or general feedback.
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 字节]