encryptWithIvBlocking
Encrypts the given plaintext using the specified iv without associated data and returns the resulting ciphertext as a ByteArray.
Use encryptWithIv when calling from suspending code.
Encrypts the given plaintext using the specified iv without associated data and returns the resulting ciphertext as a ByteString.
Use encryptWithIv when calling from suspending code.
abstract fun encryptWithIvBlocking(iv: ByteArray, plaintext: ByteArray, associatedData: ByteArray?): ByteArray(source)
Encrypts the given plaintext using the specified iv with optional associatedData and returns the resulting ciphertext as a ByteArray.
Use encryptWithIv when calling from suspending code.
open fun encryptWithIvBlocking(iv: ByteString, plaintext: ByteString, associatedData: ByteString?): ByteString(source)
Encrypts the given plaintext using the specified iv with optional associatedData and returns the resulting ciphertext as a ByteString.
Use encryptWithIv when calling from suspending code.