cryptography

Sign, verify, encrypt, and derive HD wallets across multiple cryptographic algorithms.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/StuartF303/Sorcha --skill cryptography
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cryptography
Source: https://github.com/StuartF303/Sorcha/tree/main/.claude/skills/cryptography
Command: npx skills add https://github.com/StuartF303/Sorcha --skill cryptography

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides multi-algorithm cryptography support (ED25519, P-256, RSA-4096), symmetric encryption (AES, ChaCha20), and BIP39/44 HD wallet derivation. All operations return CryptoResult<T> for explicit error handling—no exceptions for crypto failures.

Core Features & Use Cases

  • Signing and verification across multiple algorithms (ED25519, P-256, RSA-4096) with deterministic hashing.
  • Encryption and decryption using AES and ChaCha20, plus HD wallet generation and key derivation workflows.
  • Use cases include secure message signing, transaction authorization, and wallet key management within Sorcha.

Quick Start

  • Generate a key set, sign a message hash, and verify the signature using the supported algorithms.

Frequently Asked Questions about cryptography

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sign and verify messages using different cryptographic algorithms?

Signing and verification across ED25519, P-256, and RSA-4096 algorithms use deterministic hashing through a unified interface. Generate a key set, hash your message, then call the sign and verify methods—all operations return CryptoResult<T> for explicit success or failure handling without exceptions.

What encryption methods does this support for secure messaging?

This skill supports AES and ChaCha20 for symmetric encryption and decryption operations. Both algorithms encrypt data through the unified cryptographic interface and return CryptoResult<T>, making them suitable for secure message workflows within Sorcha.

Can I use this for HD wallet key derivation and management?

Yes. BIP39/44 HD wallet derivation is built in for generating and deriving wallet keys. Provide the necessary inputs and the skill returns derived keys via CryptoResult<T>, enabling wallet key management and transaction authorization tasks.

What happens if a cryptographic operation fails?

All operations return CryptoResult<T> for explicit error signaling—no exceptions are thrown for crypto failures. This design lets you handle success and failure cases directly in your application logic.

Does this work with transaction signing for blockchain or payment systems?

Yes. The skill's signing, verification, and HD wallet derivation features are applicable to transaction authorization and wallet key management workflows, making it suitable for blockchain and payment transaction tasks.

What cryptographic primitives do I need to provide?

Cryptographic primitives must be provided by Sorcha libraries. The skill exposes signing, verification, encryption, and HD-wallet derivation operations that depend on these Sorcha-supplied primitives to function.