Module rustls::crypto::cipher

source ·
Expand description

TLS message encryption/decryption interfaces.

Structs§

Constants§

  • Size of TLS nonces (incorrectly termed “IV” in standard) for all supported ciphersuites (AES-GCM, Chacha20Poly1305)

Traits§

  • Objects with this trait can decrypt TLS messages.
  • Objects with this trait can encrypt TLS messages.
  • Factory trait for building MessageEncrypter and MessageDecrypter for a TLS1.2 cipher suite.
  • Factory trait for building MessageEncrypter and MessageDecrypter for a TLS1.3 cipher suite.

Functions§