Skip to main content

Crate pakery_crypto

Crate pakery_crypto 

Source
Expand description

Concrete cryptographic implementations for PAKE protocols.

Provides implementations of the traits defined in pakery-core::crypto backed by well-known cryptographic crates.

Re-exports§

pub use hash::Sha512Hash;
pub use kdf::HkdfSha512;
pub use mac::HmacSha512;
pub use oprf_ristretto::Ristretto255Oprf;
pub use ristretto255::Ristretto255Dh;
pub use ristretto255::Ristretto255Group;
pub use spake2_constants::SPAKE2_M_COMPRESSED;
pub use spake2_constants::SPAKE2_N_COMPRESSED;
pub use spake2_constants::SPAKE2_S_COMPRESSED;

Modules§

hash
SHA-512 implementation of the Hash trait.
kdf
HKDF-SHA512 implementation of the Kdf trait.
mac
HMAC-SHA512 implementation of the Mac trait.
oprf_ristretto
Ristretto255 OPRF implementation (RFC 9497, base mode).
ristretto255
Ristretto255 implementations of CpaceGroup and DhGroup traits.
spake2_constants
Pre-computed SPAKE2 constants for Ristretto255.