static fun auth(input: Bytes!, key: Key!): Bytes!
(source)
Create an authentication tag for a given input.
input
- Bytes!: The input to generate an authentication tag for.
key
- Key!: A confidential key.
Return
Bytes!: The authentication tag.
static fun auth(input: ByteArray!, key: Key!): ByteArray!
(source)
Create an authentication tag for a given input.
input
- ByteArray!: The input to generate an authentication tag for.
key
- Key!: A confidential key.
Return
ByteArray!: The authentication tag.