pub fn encrypt_data_v2(buffer: &mut DequeBuffer, auth_key: &AuthKey)Expand description
Encrypt buffer (in-place, with prepended header) using MTProto 2.0.
After this call buffer contains key_id || msg_key || ciphertext.
pub fn encrypt_data_v2(buffer: &mut DequeBuffer, auth_key: &AuthKey)Encrypt buffer (in-place, with prepended header) using MTProto 2.0.
After this call buffer contains key_id || msg_key || ciphertext.