AesBlockCipher

fun interface AesBlockCipher(source)

Forward AES block permutation. CCM, CTR and CBC-MAC only ever need the encrypt direction.

Functions

Link copied to clipboard
abstract suspend fun encryptBlock(block: ByteArray): ByteArray

Encrypts exactly one 16-byte block and returns a new 16-byte array.