dpp-crypto 0.14.1

Ed25519 key management, JWS signing/verification, and an encrypted keystore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! JWS signing primitives — EdDSA over RFC 8785 (JCS) canonical bytes.

pub mod algorithm;
pub mod canonical;
#[cfg(test)]
mod proptests;
pub mod signer;
#[cfg(test)]
mod tests;
pub mod verifier;

pub use algorithm::{ED25519_CRV, EDDSA_ALG, is_allowed_alg};
pub use canonical::canonicalize;
pub use signer::{sign, verify};
pub use verifier::{
    extract_key_by_fingerprint, extract_kid_from_jws, extract_primary_public_key, verify_jws,
};