Skip to main content

Crate dcp_ai

Crate dcp_ai 

Source
Expand description

DCP-AI Rust SDK — Digital Citizenship Protocol for AI Agents.

Provides types, Ed25519 cryptography, SHA-256 hashing, Merkle trees, and full signed bundle verification. V2 adds composite hybrid signatures, domain separation, and post-quantum algorithm support.

Re-exports§

pub use crypto::canonicalize;
pub use crypto::hash_object;
pub use crypto::generate_keypair;
pub use crypto::sign_object;
pub use crypto::verify_object;
pub use crypto::merkle_root_from_hex_leaves;
pub use verify::verify_signed_bundle;
pub use types::*;

Modules§

crypto
Ed25519 signing, verification, and SHA-256 hashing for DCP.
observability
DCP-AI Observability — thread-safe telemetry for the Rust SDK.
providers
types
DCP v1 type definitions.
v2
verify
Full DCP signed bundle verification.

Functions§

detect_dcp_version
Detect the DCP protocol version from a JSON value.