pub fn encrypt_stream_frames(
plaintext: &[u8],
stream_id: E2eStreamId,
sender_public_key: PublicKey<33>,
recipient_public_key: PublicKey<33>,
max_plaintext_frame_len: usize,
) -> Result<E2eStreamFrames<'_, ThreadRng>>Expand description
Encrypt a byte slice lazily with the default thread-local RNG.