Skip to main content

Crate dpp_crypto

Crate dpp_crypto 

Source
Expand description

dpp-crypto — cryptographic primitives: Ed25519 signing, JWS compact serialisation, and the encrypted keystore.

All modules are pure (no I/O, no network). The crate compiles to std for the node and to wasm32 (where conditional) for plugin guests.

Verifiable Credentials, did:web documents and status lists are dpp-vc; the per-field disclosure contract is dpp_domain::access. Signing bytes is a different job from deciding whose signature means what, and a different job again from deciding which fields a role may see.

With those gone this crate has no workspace dependencies — it is a leaf.

Modules§

jws
JWS signing primitives — EdDSA over RFC 8785 (JCS) canonical bytes.
keystore
AES-256-GCM encrypted Ed25519 key store with Argon2id key derivation.