Mac
Properties
Functions
Link copied to clipboard
Generate a key based on current macMode.mode, or by providing a custom keyLength.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun verifyMac(@NotNull data: ByteArray, @NotNull expected: ByteArray, @NotNull key: ByteArray): Boolean
fun verifyMac(@NotNull data: ByteArray, @NotNull expected: String, @NotNull key: ByteArray): Boolean
fun verifyMac(@NotNull data: Iterable<ByteArray>, @NotNull expected: ByteArray, @NotNull key: ByteArray): Boolean