crypto-algorithms

crypto-algorithms is a skill for Claude Code, Codex from HermeticOrmus/LibreSecOps-Claude-Code. It costs 0 tokens per session (3,069 once invoked), scanned A, original, MIT.

A reference guide for choosing cryptographic algorithms, key sizes, and operating modes. Cryptography protects data, verifies who sent it, and creates one-way fingerprints.

In plain words
What is it for?
Choosing encryption, key exchange, digital signatures, hashing, and password-hashing methods for software systems.
Why use it?
It reduces guesswork when selecting secure methods and helps avoid outdated or unsafe choices.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hermeticormus/libresecops-claude-code/crypto-algorithms
Any agent
npx skills add HermeticOrmus/LibreSecOps-Claude-Code --skill crypto-algorithms
Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for crypto-algorithms

README.md
[![agentmods](https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/crypto-algorithms.svg)](https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/crypto-algorithms)
Your own site
<a href="https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/crypto-algorithms"><img src="https://agentmods.dev/badge/skills/hermeticormus/libresecops-claude-code/crypto-algorithms.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03069
Opus 5 $0.00000 $0.01535
Sonnet 5 $0.00000 $0.00614
Haiku 4.5 $0.00000 $0.00307

Measured 3d ago against content hash c65577e39df5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

crypto-algorithms scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/cryptography-essentials/skills/crypto-algorithms/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Crypto Algorithms

Algorithm selection guide -- when to use what, key sizes, modes of operation, and the decision tree for cryptographic choices.

Knowledge Base

The Algorithm Decision Tree

What do you need to do?
|
├── Encrypt data (make it unreadable without a key)
|   ├── Symmetric (same key for encrypt/decrypt, fast)
|   |   ├── Prefer: AES-256-GCM or ChaCha20-Poly1305
|   |   ├── Alternative: XChaCha20-Poly1305 (extended nonce)
|   |   └── Never: ECB mode, DES, 3DES, RC4, Blowfish
|   |
|   └── Asymmetric (different keys, slower, for key exchange)
|       ├── Key exchange: X25519 (ECDH on Curve25519)
|       ├── Encryption: RSA-OAEP (2048+ bits), or hybrid with X25519
|       └── Never: RSA-PKCS1v15 for new systems
|
├── Sign data (prove authenticity and integrity)
|   ├── Prefer: Ed25519 (fast, short signatures, secure)
|   ├── Alternative: ECDSA P-256, RSA-PSS (3072+ bits)
|   └── Never: RSA-PKCS1v15 signatures, DSA
|
├── Hash data (one-way fingerprint)
|   ├── General purpose: SHA-256, SHA-384, SHA-512, BLAKE2b, BLAKE3
|   ├── Short output: SHA-256 truncated, BLAKE2s
|   └── Never for security: MD5, SHA-1 (collision attacks exist)
|
├── Hash passwords (intentionally slow, salt required)
|   ├── Prefer: Argon2id (memory-hard, GPU/ASIC resistant)
|   ├── Alternative: bcrypt (cost >= 12), scrypt
|   ├── Legacy acceptable: PBKDF2-HMAC-SHA256 (iterations >= 600000)
|   └── Never: plain SHA-256, MD5, SHA-1, single-round anything
|
├── Authenticate messages (verify integrity with a key)
|   ├── Prefer: HMAC-SHA-256
|   ├── Within AEAD: Poly1305 (built into ChaCha20-Poly1305, GCM)
|   └── Never: MAC-then-encrypt (use encrypt-then-MAC or AEAD)
|
└── Derive keys (from a master key or password)
    ├── From master key: HKDF-SHA-256 (extract-then-expand)
    ├── From password: Argon2id, scrypt, PBKDF2
    └── Never: Simple hash of password, XOR with constant

Key Size Guidelines (2025+)

Algorithm Minimum Recommended NIST Post-2030
AES 128 bits 256 bits 256 bits
RSA 2048 bits 3072 bits 3072+ bits
ECDSA/ECDH P-256 (128-bit security) P-256 or P-384 P-256+
Ed25519 255 bits (fixed) 255 bits (fixed) 255 bits
X25519 255 bits (fixed) 255 bits (fixed) 255 bits
HMAC 256 bits key minimum 256 bits 256 bits

Read the full file on GitHub · 269 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 269 lines · 0 tokens per session scan A c65577e39df5

Subscribe to this mod's changes

crypto-algorithms is a skill published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,069 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

best-in-code

Run an adaptive, reusable software-delivery harness across AI models with project management, planning, research, design, frontend, backend, QA, durable scoped memory, capability fallbacks, bounded discovery, and human approval gates. Use when the user invokes Harness or asks for an end-to-end build, review, bug…

kingggg5/shipproof · 89 tokens

analyzing-memory-forensics-with-lime-and-volatility

Performs Linux memory acquisition using LiME (Linux Memory Extractor) kernel module and analysis with Volatility 3 framework. Extracts process lists, network connections, bash history, loaded kernel modules, and injected code from Linux memory images. Use when performing incident response on compromised Linux systems.

mukul975/Anthropic-Cybersecurity-Skills · 71 tokens

implementing-devsecops-security-scanning

Integrates Static Application Security Testing (SAST), Dynamic Application Security Testing (DAST), and Software Composition Analysis (SCA) into CI/CD pipelines using open-source tools. Covers Semgrep for SAST, Trivy for SCA and container scanning, OWASP ZAP for DAST, and Gitleaks for secrets detection. Activates for…

xalgorix/xalgorix · 109 tokens

implementing-runtime-application-self-protection

Deploy Runtime Application Self-Protection (RASP) agents to detect and block attacks from within application runtime, covering OpenRASP integration, attack pattern detection, and security policy configuration for Java and Python web applications.

xalgorix/xalgorix · 51 tokens

building-devsecops-pipeline-with-gitlab-ci

Design and implement a comprehensive DevSecOps pipeline in GitLab CI/CD integrating SAST, DAST, container scanning, dependency scanning, and secret detection.

adriannoes/awesome-agentic-ai · 43 tokens

kb-create

Guided pattern and bug creation with interactive prompts and automatic quality validation. Use this skill when you need to create patterns, document solutions, add KB entries, document bug fixes, save solutions, or create knowledge base entries. Helps users create high-quality KB entries with proper structure…

davidmatousek/tachi · 73 tokens