crypto_aead_xchacha20poly1305_ietf_encrypt method
int
crypto_aead_xchacha20poly1305_ietf_encrypt(
- Pointer<
UnsignedChar> c, - Pointer<
UnsignedLongLong> clen_p, - Pointer<
UnsignedChar> m, - int mlen,
- Pointer<
UnsignedChar> ad, - int adlen,
- Pointer<
UnsignedChar> nsec, - Pointer<
UnsignedChar> npub, - Pointer<
UnsignedChar> k,
Implementation
int crypto_aead_xchacha20poly1305_ietf_encrypt(
ffi.Pointer<ffi.UnsignedChar> c,
ffi.Pointer<ffi.UnsignedLongLong> clen_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_xchacha20poly1305_ietf_encrypt(
c,
clen_p,
m,
mlen,
ad,
adlen,
nsec,
npub,
k,
);
}