Safe Encryption

Safe Encryption

Modern encryption alternative to GPG/PGP with post-quantum support and agent-to-agent communication.

Claude / Claude Code
GitHub Copilot
Cursor
VS Code
OpenAI Codex
DevOpsDeveloperDevOps Engineer

What it does

Claude's default encryption suggestions are often outdated: recommending GPG for symmetric encryption, using RSA with PKCS#1 v1.5 padding (vulnerable to padding oracle attacks), suggesting key sizes that no longer meet current security standards, or missing post-quantum considerations for long-lived secrets. This skill loads modern cryptographic patterns: age for symmetric encryption, correct AEAD cipher selection, proper key derivation, post-quantum-resistant algorithms for secrets that need to outlive current hardware, and agent-to-agent communication encryption patterns. Made by grittygrease.

Use case

Any workflow involving encryption: encrypting files, securing secrets in agent pipelines, protecting data at rest, or building agent-to-agent communication that requires confidentiality. Use it whenever Claude's first instinct would be to reach for GPG.

The Prompt

Copy and use immediately
"Encrypt these files for archival storage using a modern, auditable approach."
"Set up agent-to-agent encrypted communication for this multi-agent workflow."
"We need to encrypt customer PII at rest — recommend the right approach."
"This is encrypting with RSA PKCS#1 v1.5 — replace it with a secure modern pattern."
"Generate a key management plan for secrets that need to last 10+ years."

How to use

  1. 1

    Describe what you need to encrypt, the threat model, and how long the secret needs to remain secure.

  2. 2

    Claude selects the appropriate algorithm — you get the reasoning, not just the code.

  3. 3

    For code review: paste existing encryption code and ask Claude to audit it against current standards.

Input / Output

Input

A description of the encryption use case: what's being encrypted, who the recipients are, the threat model, and the required longevity of the secret.

Output

Encryption code using modern, auditable patterns — correct algorithm selection, proper key derivation, authenticated encryption — with an explanation of why each choice was made.

Added 15 Mar 2026Submitted by grittygrease👁 42📋 0

Details

Platforms
Claude / Claude CodeGitHub CopilotCursorVS CodeOpenAI Codex
Category
DevOps
License
apache-2.0

Stats

📋 Copies0
👁 Views42
👍 Upvotes0

Install with skills.sh

npx skillsadd grittygrease/skills/safe-encryption

Requires skills.sh CLI

Community Notes

Sign in with GitHub to leave a note.

No notes yet. Be the first to contribute.