[][src]Function devolutions_crypto::ffi::EncryptSize

#[no_mangle]
pub extern "C" fn EncryptSize(data_length: usize, version: u16) -> i64

Get the size of the resulting ciphertext.

Arguments

  • data_length - Length of the plaintext.

Returns

Returns the length of the ciphertext to input as result_length in Encrypt().