pub fn sk_encrypt2<T>(
secret_key: &SecretKey,
buff: T,
data_len: usize,
) -> Result<usize, ()>Expand description
sk_encrypt2 encrypts data_len bytes of the data in-place in the provided buffer, appends NONCE and TAG information to the buffer, and returns the complete length (encrypted data + overheads)