Module config

Module config 

Source
Expand description

Contains the Config trait used to define the configuration for an EncryptedMessage.

Structs§

Secret
Wrapper type for values that contains secrets, which attempts to limit accidental exposure and ensure secrets are wiped from memory when dropped. (e.g. passwords, cryptographic keys, access tokens or other credentials)

Traits§

Config
A trait to define the configuration for an EncryptedMessage. This allows you to effectively define different keys for different kinds of data if needed.
ExposeSecret
Expose a reference to an inner secret