Expand description
§Provncloud SDK
A high-performance, universal cryptographic engine for signing and verifying data claims.
This crate provides a lightweight, no_std compatible implementation for generating
verifiable audit trails. It is designed to be compatible with resource-constrained
environments like Solana programs and Arweave AO processes, while maintaining
strict JCS (RFC 8785) compliance for
cross-platform interoperability.
Structs§
- Claim
- A Claim representing a statement of truth to be anchored. Fields are ordered alphabetically to ensure “Canonical JSON” (JCS - RFC 8785) compliance when using deterministic serialization.
- Signed
Claim - A SignedClaim wraps the claim with its signature and public key.
Enums§
- SdkError
- Errors encountered during SDK operations.
Functions§
- compute_
hash - Compute a SHA-256 hash of a byte slice for “Hash-Only” forensics.
- generate_
keypair - Generate a new random keypair
- sign_
claim - Sign a claim with a private key
- verify_
claim - Verify a signed claim