Skip to main content

Module types

Module types 

Source
Expand description

Core types with explicit ownership and memory-hygiene behavior

Secret wrappers explicitly clear owned initialized bytes on drop. This is a best-effort safe-Rust behavior, not a physical-erasure guarantee for caller, compiler/register, freed-storage, swap, or crash-dump copies.

Structs§

Ciphertext
Wrapper for ciphertext data
Key
Base key type backed by exact-size secret storage.
PublicKey
Wrapper for public key data
SecretBytes
A fixed-size byte array that explicitly clears its owned storage on drop.
SecretVec
Exact-size owned bytes whose initialized storage is explicitly cleared on drop.

Type Aliases§

ZeroizingBytes
An exact-size byte allocation that clears every initialized byte on drop.