encryptBlocking

abstract fun encryptBlocking(plaintext: ByteArray): ByteArray(source)

Encrypts the given plaintext and returns the resulting ciphertext as a ByteArray.

Use encrypt when calling from suspending code.


Encrypts the given plaintext and returns the resulting ciphertext as a ByteString.

Use encrypt when calling from suspending code.