cipher

abstract fun cipher(tagSize: BinarySize = 128.bits): IvAuthenticatedCipher(source)

Returns an IvAuthenticatedCipher for encryption and decryption with an authentication tag of the given tagSize.

Supported tag sizes are 32, 48, 64, 80, 96, 112, and 128 bits.