static fun verify(authenticator: Bytes, in: Bytes, key: Key): Boolean
(source)static fun verify(authenticator: ByteArray, in: ByteArray, key: Key): Boolean
(source)
Verifies the authenticator of a message matches according to a secret.
authenticator
- the authenticator to verify
in
- the message to match against the authenticator
key
- the secret key to use for verification
Return
true if the authenticator verifies the message according to the secret, false otherwise