cipher

abstract fun cipher(padding: Boolean = true): IvCipher(source)

Returns an IvCipher for encryption and decryption with PKCS#7 padding enabled or disabled.

When padding is disabled, the plaintext must be a multiple of 16 bytes (AES block size).