# cipherhub crypto

> Production-grade MCP cryptography toolkit for hashing, encryption, PQC migration, and X.509/ASN.1 parsing.

cipherhub crypto is a free AI agent skill on Agensi by Bowener Chen, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Bowener Chen](https://www.agensi.io/creators/cipherhub-cloud)
- Category: [Security](https://www.agensi.io/skills/security)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-17
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cipherhub-crypto
- Tags: security, llm-ops, cryptography, mcp-server, post-quantum

## About this skill

Handling raw binary data and complex cryptographic operations is error-prone for AI agents. This skill provides a production-grade interface to the CipherHUB MCP server, enabling secure hashing, encryption, key management, and post-quantum operations without managing local libraries.

### What it does
- **Multi-algorithm hashing** provides SHA-2 family, SM3, and SHAKE digests with support for large inputs up to 16MB.
- **Advanced encryption** handles AES (CBC, GCM, CTR, XTS), ChaCha20-Poly1305, and Chinese national standard SM4/ZUC ciphers.
- **Asymmetric key management** generates and processes RSA, ECC (NIST and Bernstein curves), and SM2/SM9 identity-based keys.
- **Post-quantum security** implements FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA) for future-proof migrations.
- **Structured data parsing** dissects ASN.1/DER, CBOR, X.509 certificates, and COSE/CMS signed or enveloped messages.
- **Cryptographic primitives** generates CSPRNG random data and performs HKDF-based key derivation.

### How it works
1. **Hex encoding** converts all binary input data into even-length hex strings before transmission.
2. **Tool selection** identifies the specific algorithm or protocol operation from the 55 available tools.
3. **JSON-RPC execution** sends a stateless POST request to the hosted CipherHUB endpoint or local MCP runtime.
4. **Response handling** parses the double-wrapped JSON output and decodes the result hex strings back into the target format.

### Frameworks & tools
Built for the Model Context Protocol (MCP) using JSON-RPC 2.0. Verified for interoperability with AWS KMS, Tencent Cloud KMS, and OpenSSL 3.6.

### Why this beats prompting it yourself
LLMs frequently hallucinate binary formats, padding schemes, and ASN.1 structures. This skill offloads the heavy lifting to a specialized GmSSL-backed service, ensuring mathematical correctness and protocol compliance that raw prompting cannot achieve.

### Use cases
- Generating secure X.509 certificate signing requests or parsing existing chains for validation.
- Implementing hybrid post-quantum key exchanges (X25519 + ML-KEM-768) in agent workflows.
- Verifying the integrity of large files using batch `hash_sum` operations.
- Encrypting sensitive agent state or logs using AES-GCM or SM4-GCM.

### Known limitations
Inputs are limited to 16MB for hashing and 128KB for structured ASN.1/CBOR parsing. Requests are rate-limited to 10 per second with a burst of 20.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the cipherhub crypto skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Why should I use this skill instead of asking my AI agent to write the crypto code itself?

This skill allows AI agents to perform complex binary operations like PQC (Post-Quantum Cryptography) and ASN.1 parsing, which LLMs typically fail at due to 'hallucinations' in bitwise logic and padding. It ensures mathematical correctness by offloading these tasks to a production-grade GmSSL-backed engine.

### Which AI frameworks or agents are compatible with CipherHUB Crypto?

The skill is built on the Model Context Protocol (MCP) and is compatible with any agentic framework that supports MCP, including Claude Desktop, LangChain, and various autonomous agent IDEs. It also integrates seamlessly with cloud environments like AWS and Tencent Cloud KMS.

### How does the skill handle raw binary data like certificates or encrypted blobs?

All binary inputs, such as keys or ciphertext, must be converted into even-length hex strings before being passed to the tool. The skill then returns results in hex format, which your agent can easily decode or pass to subsequent cryptographic operations.

### Does this toolkit support the latest Post-Quantum Cryptography (PQC) standards?

CipherHUB Crypto includes full support for FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA). This allows you to build future-proof agents capable of generating post-quantum signatures and performing hybrid key exchanges today.

### What specific tools and algorithms are included in this package?

You receive access to a suite of 55 specialized tools covering hashing, symmetric/asymmetric encryption, and structured data parsing. This includes support for global standards like AES and RSA, as well as Chinese national standards like SM2, SM3, and SM4.

### Are there any size limitations for the data I want to encrypt or hash?

Hashing operations support inputs up to 16MB, while structured parsing for ASN.1, CBOR, and X.509 certificates is limited to 128KB per request. This ensures high-performance processing while maintaining stability for the MCP runtime.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
