hofmann-rfc 1.3.0

Rust implementation of RFC 9380 (Hash-to-Curve), RFC 9497 (OPRF), and RFC 9807 (OPAQUE)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! RFC 9497 Oblivious Pseudorandom Function (OPRF) — base mode (mode 0).
//!
//! Provides [`OprfCipherSuite`] which bundles a [`GroupSpec`](crate::elliptic_curve::GroupSpec),
//! hash algorithm, and domain separation tags for a complete OPRF cipher suite.
//! Supported suites are enumerated by [`CurveHashSuite`].
//!
//! Key operations:
//! - **`derive_key_pair`** — deterministic server key derivation (RFC 9497 §3.2.1)
//! - **`finalize`** — client-side unblinding and output hashing (RFC 9497 §3.3.1)

mod cipher_suite;

pub use cipher_suite::{CurveHashSuite, OprfCipherSuite};