Module encrypted_message::strategy

source ·
Expand description

All the encryption strategies that can be used with EncryptedMessage.

Structs§

  • This encryption strategy is guaranteed to always produce the same nonce for a payload, which will generate the same encrypted message every time.
  • This encryption strategy is guaranteed to always produce a random nonce, regardless of the payload, which will generate a different encrypted message every time.

Traits§