crypto_aead_chacha20poly1305_encrypt

Undocumented in source. Be warned that the author may not have intended to support it.
  1. alias crypto_aead_chacha20poly1305_encrypt = deimos.sodium.crypto_aead_chacha20poly1305.crypto_aead_chacha20poly1305_encrypt
  2. bool crypto_aead_chacha20poly1305_encrypt(ubyte[] c, ubyte[] m, ubyte[] ad, ubyte[crypto_aead_chacha20poly1305_NPUBBYTES] npub, ubyte[crypto_aead_chacha20poly1305_KEYBYTES] k)
    @nogc @trusted
    bool
    crypto_aead_chacha20poly1305_encrypt
    (
    scope ubyte[] c
    ,
    const scope ubyte[] m
    ,
    const scope ubyte[] ad
    ,
    const ubyte[crypto_aead_chacha20poly1305_NPUBBYTES] npub
    ,
    const ubyte[crypto_aead_chacha20poly1305_KEYBYTES] k
    )

Meta