crypto_auth_hmacsha256_verify

The crypto_auth_hmacsha256_verify() function verifies in constant time that mac is a correct authenticator for the message message under a secret key skey. It returns true on success of verification.

  1. alias crypto_auth_hmacsha256_verify = deimos.sodium.crypto_auth_hmacsha256.crypto_auth_hmacsha256_verify
  2. bool crypto_auth_hmacsha256_verify(ubyte[crypto_auth_hmacsha256_BYTES] mac, ubyte[] message, ubyte[crypto_auth_hmacsha256_KEYBYTES] skey)
    pragma(inline, true) @nogc pure @trusted nothrow
    bool
    crypto_auth_hmacsha256_verify
    (
    const ubyte[crypto_auth_hmacsha256_BYTES] mac
    ,
    scope const ubyte[] message
    ,
    const ubyte[crypto_auth_hmacsha256_KEYBYTES] skey
    )

Meta