Skip to content

libsodium.SKI.VerifyMAC

Andrew Lambert edited this page Nov 26, 2022 · 4 revisions

libsodium.SKI.VerifyMAC

Method Signature

 Protected Function VerifyMAC(MAC As MemoryBlock, Message As MemoryBlock, Key As libsodium.SKI.SecretKey) As Boolean

Parameters

Name Type Comment
MAC MemoryBlock The authentication code.
Message MemoryBlock The data to be authenticated.
Key SecretKey The secret key.

Return value

Returns True if the Message is authentic.

Remarks

Verifies the Message using the specified HMAC-SHA512256 authentication code.

See also

Clone this wiki locally