crypto_aead_chacha20poly1305_ietf_encrypt_detached method
      
int
crypto_aead_chacha20poly1305_ietf_encrypt_detached(
    
    
- Pointer<
UnsignedChar> c, - Pointer<
UnsignedChar> mac, - Pointer<
UnsignedLongLong> maclen_p, - Pointer<
UnsignedChar> m, - int mlen,
 - Pointer<
UnsignedChar> ad, - int adlen,
 - Pointer<
UnsignedChar> nsec, - Pointer<
UnsignedChar> npub, - Pointer<
UnsignedChar> k, 
Implementation
int crypto_aead_chacha20poly1305_ietf_encrypt_detached(
  ffi.Pointer<ffi.UnsignedChar> c,
  ffi.Pointer<ffi.UnsignedChar> mac,
  ffi.Pointer<ffi.UnsignedLongLong> maclen_p,
  ffi.Pointer<ffi.UnsignedChar> m,
  int mlen,
  ffi.Pointer<ffi.UnsignedChar> ad,
  int adlen,
  ffi.Pointer<ffi.UnsignedChar> nsec,
  ffi.Pointer<ffi.UnsignedChar> npub,
  ffi.Pointer<ffi.UnsignedChar> k,
) {
  return _crypto_aead_chacha20poly1305_ietf_encrypt_detached(
    c,
    mac,
    maclen_p,
    m,
    mlen,
    ad,
    adlen,
    nsec,
    npub,
    k,
  );
}