encrypt

abstract fun encrypt(key: ByteArray, iv: ByteArray, data: ByteArray): ByteArray

Encrypt the data using provided key and iv.