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§
- jades
- JAdES baseline signatures — ETSI TS 119 182-1 V1.2.1 (2024-07).
- jws
- JWS signing primitives — EdDSA over RFC 8785 (JCS) canonical bytes.
- keystore
- AES-256-GCM encrypted Ed25519 key store with Argon2id key derivation.
- sd_jwt
- SD-JWT — selective disclosure for JSON Web Tokens, IETF RFC 9901 (Standards Track, November 2025).