Skip to main content

Module EncryptionKey

Module EncryptionKey 

Source
Expand description

Wrapper around ring::aead::LessSafeKey plus metadata - creation timestamp, random key id, and a usage counter the channel bumps on each encrypt. Private constructors are exposed via pub(super) so the channel can manage rotation while keeping callers out of the raw key material.

Structsยง

Struct