crypto_aead_xchacha20poly1305_ietf_encrypt_detached

Undocumented in source. Be warned that the author may not have intended to support it.
  1. alias crypto_aead_xchacha20poly1305_ietf_encrypt_detached = deimos.sodium.crypto_aead_xchacha20poly1305.crypto_aead_xchacha20poly1305_ietf_encrypt_detached
  2. bool crypto_aead_xchacha20poly1305_ietf_encrypt_detached(ubyte[] c, ubyte[crypto_aead_xchacha20poly1305_ietf_ABYTES] mac, ubyte[] m, ubyte[] ad, ubyte[crypto_aead_xchacha20poly1305_ietf_NPUBBYTES] npub, ubyte[crypto_aead_xchacha20poly1305_ietf_KEYBYTES] k)
    @nogc @trusted
    bool
    crypto_aead_xchacha20poly1305_ietf_encrypt_detached
    (
    scope ubyte[] c
    ,
    out ubyte[crypto_aead_xchacha20poly1305_ietf_ABYTES] mac
    ,
    scope const ubyte[] m
    ,
    scope const ubyte[] ad
    ,
    const ubyte[crypto_aead_xchacha20poly1305_ietf_NPUBBYTES] npub
    ,
    const ubyte[crypto_aead_xchacha20poly1305_ietf_KEYBYTES] k
    )

Meta