Module traits

Source
Expand description

Trait definitions for cryptographic operations in DCRYPT

This module provides core traits that define the interfaces for various cryptographic operations, along with marker traits that define algorithm properties.

Re-exports§

pub use kem::Kem;
pub use pke::Pke;
pub use serialize::Serialize;
pub use serialize::SerializeSecret;
pub use signature::Signature;
pub use symmetric::SymmetricCipher;

Modules§

kem
Trait definition for Key Encapsulation Mechanisms (KEM) with enhanced type safety
pke
Trait definition for Public Key Encryption (PKE) schemes.
serialize
Traits for byte serialization of cryptographic types.
signature
Digital signature traits for dcrypt
symmetric
Trait definition for symmetric encryption algorithms with enhanced type safety

Traits§

AuthenticatedCipher
Marker trait for authenticated encryption algorithms
BlockCipher
Marker trait for block cipher algorithms
HashAlgorithm
Marker trait for hash function algorithms
KeyDerivationFunction
Marker trait for key derivation functions
StreamCipher
Marker trait for stream cipher algorithms