crypto_auth_hmacsha512256_verify

The crypto_auth_hmacsha512256_verify() function verifies in constant time that h is a correct authenticator for the message in whose length is inlen under a secret key k . It returns -1 if the verification fails, and 0 on success.

  1. alias crypto_auth_hmacsha512256_verify = deimos.sodium.crypto_auth_hmacsha512256.crypto_auth_hmacsha512256_verify
  2. bool crypto_auth_hmacsha512256_verify(ubyte[crypto_auth_hmacsha512256_BYTES] mac, ubyte[] message, ubyte[crypto_auth_hmacsha512256_KEYBYTES] skey)
    pragma(inline, true) @nogc pure @trusted nothrow
    bool
    crypto_auth_hmacsha512256_verify
    (
    const ubyte[crypto_auth_hmacsha512256_BYTES] mac
    ,
    scope const ubyte[] message
    ,
    const ubyte[crypto_auth_hmacsha512256_KEYBYTES] skey
    )

Meta