static fun verify(tag: Bytes!, input: Bytes!, key: Key!): Boolean
(source)
Verify an input using an authentication tag.
tag
- Bytes!: The authentication tag for the input.
input
- Bytes!: The input.
key
- Key!: A confidential key that was used for tag creation.
Return
Boolean: true
if the tag correction authenticates the input (using the specified key).
static fun verify(tag: ByteArray!, input: ByteArray!, key: Key!): Boolean
(source)
Verify an input using an authentication tag.
tag
- ByteArray!: The authentication tag for the input.
input
- ByteArray!: The input.
key
- Key!: A confidential key that was used for tag creation.
Return
Boolean: true
if the tag correction authenticates the input (using the specified key).