crypto_auth_hmacsha256

The crypto_auth_hmacsha256() function authenticates a message message using the secret key skey, and puts the authenticator into mac. It returns true on success.

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

Meta