Provncloud SDK (Rust)
Universal, no-std Rust SDK for privacy-preserving digital signatures and data anchoring.
Provncloud SDK allows you to cryptographically sign data and anchor it to blockchain networks (like Arweave AO and Solana) without revealing the raw content. It strictly adheres to JCS (RFC 8785) for canonical JSON serialization, ensuring signatures verified in Rust can be validated across any other supported language.
🚀 Installation
Add to your Cargo.toml:
[]
= "0.3.0"
For no_std environments (e.g., Solana programs):
[]
= { = "0.3.0", = false, = ["alloc"] }
💻 Usage
use ;
🛠 Features
- Standard Compliance: Uses JCS (RFC 8785) for deterministic JSON serialization.
- no-std Support: Fully compatible with embedded and blockchain runtimes.
- Cross-Language: Signatures are interoperable with Provn SDKs in Python, JS/TS, Go, and Java.
- Safety: Robust validation of payload sizes (2KB limit) and timestamp bounds.
📚 Resources
⚖️ License
MIT License. See LICENSE for details.