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.
npx agentmods add skills/hermeticormus/libresecops-claude-code/crypto-algorithmsnpx skills add HermeticOrmus/LibreSecOps-Claude-Code --skill crypto-algorithmsgit clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-CodeWrote 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.
[](https://agentmods.dev/skills/hermeticormus/libresecops-claude-code/crypto-algorithms)<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>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.
| Model | Per session | Once 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 |
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.
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 |
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.
- 3d ago First seen · 269 lines · 0 tokens per session scan A c65577e39df5
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.
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…
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.
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…
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.
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.
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…