encrypt
Encrypts the given plaintext without associated data and returns the resulting ciphertext as a ByteArray.
Use encryptBlocking when calling from non-suspending code.
Encrypts the given plaintext without associated data and returns the resulting ciphertext as a ByteString.
Use encryptBlocking when calling from non-suspending code.
Encrypts the given plaintext with optional associatedData and returns the resulting ciphertext as a ByteArray.
Use encryptBlocking when calling from non-suspending code.
Encrypts the given plaintext with optional associatedData and returns the resulting ciphertext as a ByteString.
Use encryptBlocking when calling from non-suspending code.