crypto-algorithms

crypto-algorithms is a skill for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 60 tokens per session (3,137 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cryptography-essentials plugin — 2 skills, 1 command, 2 agents shipped together

Good fit Choosing encryption, key exchange, digital signatures, hashing, and password-hashing methods for software systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hermeticormus/libresecops-claude-code/crypto-algorithms
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.

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.

Or install cryptography-essentials, the plugin that ships this one along with the rest of its 2 skills, 1 command, 2 agents.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for crypto-algorithms

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,137 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00060 $0.03137
Opus 5.5 $0.00024 $0.01255
Sonnet 5.5 $0.00012 $0.00627
Haiku 4.5 $0.00006 $0.00314

Measured 1mo ago against content hash 2873b4419008, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 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 · 274 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. 1mo ago Changed · +5 lines · +60 tokens per session 2873b4419008
  2. 3mo 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 1mo ago), licensed MIT. It adds 60 tokens to every session and 3,137 once invoked, about $0.0002 per session on Opus 5.5. 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

crypto-algorithms compared with skills from other repositories

crypto-algorithms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crypto-algorithmsHermeticOrmus/LibreSecOps-Claude-CodeSkill41mo agoMITA60Claude Code
implementing-devsecops-security-scanningxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A109Claude Code, Codex
building-devsecops-pipeline-with-gitlab-cixalgorix/xalgorixSkill1.5kyesterdayApache-2.0A43Claude Code, Codex
integrating-dast-with-owasp-zap-in-pipelinexalgorix/xalgorixSkill1.5kyesterdayApache-2.0A76Claude Code, Codex
implementing-runtime-application-self-protectionxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A51Claude Code, Codex
integrating-dast-with-owasp-zap-in-pipelineadriannoes/awesome-agentic-aiSkill1082d agoMITA76Claude Code, Codex
audit-production-readinesskingggg5/shipproofSkill193d agoMITA72Claude Code, Codex