This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //! Example of E2EE setup with Diffie-Hellman key exchange, PBKD2 derivation, | |
| //! and AES GCM SIV AEAD data encryption. | |
| #![deny(unsafe_code)] | |
| #![deny(clippy::all)] | |
| #![deny(clippy::pedantic)] | |
| use aes_gcm_siv::{ | |
| Aes256GcmSiv, Nonce, | |
| aead::{Aead, KeyInit, OsRng}, |
OlderNewer