encryption-best-practices

Identify and mitigate cryptographic weaknesses in systems and code.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/marquesfelip/agents-and-skills --skill encryption-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: encryption-best-practices
Source: https://github.com/marquesfelip/agents-and-skills/tree/main/skills/encryption-best-practices
Command: npx skills add https://github.com/marquesfelip/agents-and-skills --skill encryption-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Crypto systems often suffer from weak configurations, misapplied algorithms, and poor key management, leading to data exposure. This Skill provides comprehensive guidance to design and audit cryptographic practices to prevent insecure crypto.

Core Features & Use Cases

  • Encryption at rest and in transit design guidance for databases, APIs, and services
  • Key management and rotation with envelope encryption patterns and KMS integration
  • Security auditing checks and migration paths from deprecated algorithms to modern standards
  • Real-world use case: ensure AES-GCM, TLS 1.2+ with proper certificate management, and robust hashing strategies across systems

Quick Start

Review current cryptographic configurations and draft an action plan to replace deprecated algorithms and implement proper key management.

Frequently Asked Questions about encryption-best-practices

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

FAQPage Schema
How do I configure AES-GCM encryption for data at rest?

To configure AES-GCM encryption for data at rest, apply envelope encryption patterns with KMS integration to manage keys securely. This ensures robust cryptographic design by protecting data across databases, APIs, and services while maintaining proper validation and audit trails.

What is envelope encryption and when do I need it for key management?

Envelope encryption is a pattern where a KMS generates data encryption keys to encrypt data, while the key encryption key remains secured in the KMS. You need it to safely manage keys and enable secure rotation without exposing underlying plaintext data.

How do I migrate from deprecated cryptographic algorithms to modern standards?

To migrate from deprecated cryptographic algorithms to modern standards, review current configurations and draft an action plan targeting robust alternatives. Replace weak algorithms with secure choices like AES-GCM, TLS 1.2+, and secure hashing across your systems.

What's the best way to audit TLS configurations and certificate management?

The best way to audit TLS configurations and certificate management is to systematically identify and mitigate cryptographic weaknesses in transit. Ensure systems enforce TLS 1.2+ with proper certificate management and secure algorithm choices across all APIs.

Does my database encryption strategy require KMS-based key rotation?

Yes, your database encryption strategy requires KMS-based key rotation to prevent data exposure from misapplied algorithms and poor key management. Integrating KMS provides secure key lifecycle management and satisfies robust security auditing requirements.