Skip to main content

huskarl_crypto_native/
lib.rs

1//! Native rust implementation of JWS signers.
2//!
3//! The following JWS algorithms are available:
4//!
5//! - Asymmetric (Edwards-curve)
6//!   - `Ed25519` (aka `EdDSA`)
7//! - Asymmetric (NIST elliptic curves)
8//!   - ES256
9//!   - ES384
10//! - Symmetric (HMAC)
11//!   - HS256
12//!   - HS384
13//!   - HS512
14//! - Asymmetric (RSA)
15//!   - RS256
16//!   - RS384
17//!   - RS512
18//!   - PS256
19//!   - PS384
20//!   - PS512
21
22#![forbid(unsafe_code)]
23#![deny(clippy::panic)]
24#![warn(clippy::pedantic)]
25#![warn(missing_docs)]
26#![cfg_attr(docsrs, feature(doc_cfg))]
27
28pub mod aead;
29mod factory;
30
31pub mod asymmetric;
32pub mod symmetric;
33
34pub use factory::NativeVerifierPlatform;