fn encrypt_with_shared_secret<R: CryptoRng + RngCore>( shared_key: &[u8; 32], plaintext: &[u8], rng: &mut R, ) -> Result<Vec<u8>>
Encrypt data using ChaCha20-Poly1305 with derived key