- Home
- Skills
- APIs & Backend
- crypto workbench
Works with the AI Agents you already use
crypto workbench
A staged workflow for implementing and reviewing cryptography from papers, standards, and RFCs.
Free
crypto workbench
Example session with this skill installed
I need to implement the OPAQUE asymmetric PAKE protocol based on draft-irtf-cfrg-opaque-11. Start with the crypto-init stage.
- Read your context and instructions
- Compiled the crypto workbench
I have initialized the .cryptoworkbench/ directory and created the project structure. I've recorded the target as the OPAQUE protocol (draft-irtf-cfrg-opaque-11).
Crypto Workbench Initialization
| Item | Status | Details |
|---|---|---|
| Project Root | Created | .cryptoworkbench/ |
| Target Spec | Identified | draft-irtf-cfrg-opaque-11 |
| Open Questions | Created | open_questions.md initialized with draft versioning |
| Decision Log | Created | decisions.md ready for library choices |
I have prepared the workbench. Before we move to crypto-intake, we need to address the initial parameters for this implementation.
Open Questions:
1.
Implementation Style: Should this be a research prototype, a reference-style implementation, or a library-backed production-oriented version?
2. Target Language: Do you have a preferred language (e.g., Python, C++, Rust) for the implementation and testing?
3.
Group Selection: OPAQUE requires a prime-order group. Should we default to Ristretto255 or a specific NIST curve?
Next steps
- Answer the open questions above to update
decisions.md. - Run
crypto-intaketo fetch and scan the RFC draft text. - Begin the
crypto-paper-reviewto identify the required primitives (HKDF, Hash-to-Group, etc.).
Connects securely to your tools. The creator never sees your data.
About this skill
Moving from a whitepaper or RFC to a production-ready cryptographic implementation is prone to subtle errors and security flaws. This skill enforces a rigorous, staged workflow to ensure every primitive, notation, and security assumption is documented before a single line of code is written.
What it does
- Source extraction scans PDFs and RFCs to build notation maps and identify ambiguities in cryptographic specifications.
- Library mapping matches required primitives to established libraries like OpenSSL, NaCl, or BoringSSL to avoid "rolling your own."
- Spec construction generates detailed implementation specs, ambiguity logs, and test plans based on peer-reviewed research.
- Staged implementation guides the transition from plan to code, ensuring tests are written against the spec's edge cases.
- Security review performs a structured reading of the implementation to identify logic errors and deviations from the target standard.
How it works
- Initialize the project using
crypto-initto create the local workbench directory and define the target algorithm or paper. - Ingest the source material via
crypto-intakeandcrypto-paper-reviewto extract parameters and threat models. - Map and Plan by running
crypto-library-mapandcrypto-plan-reviewto select tools and approve the architecture. - Execute the build through
crypto-implementandcrypto-security-reviewto produce the final, reviewed code.
Frameworks & tools
This skill requires Python 3 with PyYAML and pypdf. It references a local registry of algorithms and math families to ensure standard compliance.
Why this beats prompting it yourself
Generic prompts often ignore the subtle edge cases in academic papers or suggest unsafe hand-rolled crypto. This skill enforces a mandatory review gate between specification and coding, preventing the LLM from making silent assumptions about encodings or security parameters.
Use cases
- Paper implementation translating a new research paper into a verified Python or C prototype.
- Standard compliance auditing an existing codebase against a specific RFC or NIST standard.
- Library migration planning the move from legacy primitives to modern, library-backed implementations.
Known limitations
The security review is a static reading of code and does not replace formal verification or a professional audit. Online access for fetching papers requires explicit per-request user consent.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 7 days ago
- Free to download with an account