Module types

Source
Expand description

Core types with security guarantees for the DCRYPT library

This module provides fundamental type definitions that enforce compile-time and runtime guarantees for cryptographic operations.

Structsยง

Ciphertext
Wrapper for ciphertext data
Key
Base key type that provides secure memory handling
PublicKey
Wrapper for public key data
SecretBytes
A fixed-size array of bytes that is securely zeroed when dropped
SecretVec
A variable-length vector of bytes that is securely zeroed when dropped