crypto_auth_hmacsha512

The crypto_auth_hmacsha512() function authenticates a message message using the secret key skey, and puts the authenticator into mac. Returns 0? on success.

  1. alias crypto_auth_hmacsha512 = deimos.sodium.crypto_auth_hmacsha512.crypto_auth_hmacsha512
  2. bool crypto_auth_hmacsha512(ubyte[crypto_auth_hmacsha512_BYTES] mac, ubyte[] message, ubyte[crypto_auth_hmacsha512_KEYBYTES] skey)
    pragma(inline, true) @nogc pure @trusted
    bool
    crypto_auth_hmacsha512
    (
    out ubyte[crypto_auth_hmacsha512_BYTES] mac
    ,
    scope const ubyte[] message
    ,
    const ubyte[crypto_auth_hmacsha512_KEYBYTES] skey
    )

Meta