Skip to main content

Crate provn_sdk

Crate provn_sdk 

Source
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.
SignedClaim
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

Type Aliases§

Result