#[unsafe(no_mangle)]pub unsafe extern "C" fn hide_encrypt(
plaintext: *const u8,
plaintext_len: usize,
recipients: *const u8,
recipient_count: usize,
filename: *const c_char,
media_type: *const c_char,
out: *mut HideBuffer,
) -> i32Expand description
Encrypts a buffer for one or more recipients.
recipients is a flat array of recipient_count public keys, each exactly
HIDE_PUBLIC_KEY_LEN bytes.
ยงSafety
All pointers must be valid for the stated lengths.