sodium ~master (2019-06-07T17:14:01Z)
Home
Dub
Repo
crypto_aead_chacha20poly1305_decrypt_detached
wrapper
sodium
crypto_aead_chacha20poly1305
Undocumented in source. Be warned that the author may not have intended to support it.
alias
crypto_aead_chacha20poly1305_decrypt_detached
=
deimos
.
sodium
.
crypto_aead_chacha20poly1305
.
crypto_aead_chacha20poly1305_decrypt_detached
bool
crypto_aead_chacha20poly1305_decrypt_detached
(ubyte[] m, ubyte[] c, ubyte[crypto_aead_chacha20poly1305_ABYTES] mac, ubyte[] ad, ubyte[crypto_aead_chacha20poly1305_NPUBBYTES] npub, ubyte[crypto_aead_chacha20poly1305_KEYBYTES] k)
@
nogc
@
trusted
bool
crypto_aead_chacha20poly1305_decrypt_detached
(
scope
ubyte
[]
m
,
const
scope
ubyte
[]
c
,
const
ubyte
[
crypto_aead_chacha20poly1305_ABYTES
]
mac
,
const
scope
ubyte
[]
ad
,
const
ubyte
[
crypto_aead_chacha20poly1305_NPUBBYTES
]
npub
,
const
ubyte
[
crypto_aead_chacha20poly1305_KEYBYTES
]
k
)
Meta
Source
See Implementation
wrapper
sodium
crypto_aead_chacha20poly1305
aliases
crypto_aead_chacha20poly1305_decrypt
crypto_aead_chacha20poly1305_decrypt_detached
crypto_aead_chacha20poly1305_encrypt
crypto_aead_chacha20poly1305_encrypt_detached
crypto_aead_chacha20poly1305_ietf_decrypt
crypto_aead_chacha20poly1305_ietf_decrypt_detached
crypto_aead_chacha20poly1305_ietf_encrypt
crypto_aead_chacha20poly1305_ietf_encrypt_detached
variables
key
key2
nonce
nonce2