encryption-strategy

Design encryption strategies covering data-at-rest, data-in-transit, and key management.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill encryption-strategy-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: encryption-strategy
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/05-security/encryption-strategy
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill encryption-strategy-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cryptography, boto3, bcrypt, argon2, psycopg2, prometheus_client.

What problem does it solve? Teams handling sensitive data often apply encryption inconsistently, leaving gaps in data-at-rest protection, TLS configuration, or key rotation that create compliance and security risks. ## Core Features & Use Cases - Encryption Standards Selection: Choose appropriate algorithms like AES-256-GCM, RSA-4096, ChaCha20-Poly1305, and Argon2 while avoiding broken ciphers like MD5 and DES. - Key Management Design: Implement AWS KMS, envelope encryption, and automated key rotation with audit logging. - Compliance Mapping: Align encryption controls with PCI-DSS, HIPAA, and GDPR requirements. - Use Case: A fintech startup needs to encrypt customer PII and payment data. Use this Skill to produce a complete strategy covering PostgreSQL TDE, S3 SSE-KMS, TLS 1.3 Nginx configuration, and annual key rotation. ## Quick Start Design an encryption strategy for a healthcare application storing PHI in PostgreSQL with HIPAA compliance requirements.

Frequently Asked Questions about encryption-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt sensitive data at rest in PostgreSQL?

Enable transparent data encryption by setting data_encryption on and creating encrypted tablespaces for sensitive tables. Alternatively, encrypt specific fields at the application level using the cryptography library's Fernet or AESGCM before inserting into the database.

What is envelope encryption and when should I use it?

Envelope encryption encrypts data with a data encryption key (DEK), then encrypts the DEK with a master key from KMS. Use it for large data volumes since bulk encryption happens locally with the DEK, avoiding KMS API latency while keeping keys secure.

Argon2 vs bcrypt for password hashing, which should I use?

Argon2 is the modern recommended choice because it is memory-hard and resistant to GPU cracking, with configurable time, memory, and parallelism costs. Bcrypt with 12+ rounds remains secure and acceptable for existing systems.

Does AWS KMS support automatic key rotation?

Yes, enable automatic rotation with enable_key_rotation, which rotates the key material annually. Old ciphertexts remain decryptable because KMS retains previous key versions, so no re-encryption of existing data is required.

Which TLS version should I configure for data in transit?

Configure TLS 1.3 as the minimum with strong ciphers like TLS_AES_256_GCM_SHA384. TLS 1.0 and 1.1 are deprecated, and TLS 1.2 is acceptable but should be upgraded. Enable HSTS to force HTTPS connections.

What encryption algorithms should be avoided?

Avoid MD5 and SHA-1 for hashing since they are broken, DES and 3DES due to small key sizes, RC4 as a weak stream cipher, and AES-ECB mode because it leaks data patterns. Use AES-256-GCM and SHA-256 instead.