Functions

Link copied to clipboard
open suspend override fun encrypt(plaintext: ByteArray): ByteArray
open suspend override fun encrypt(plaintext: ByteString): ByteString
open suspend fun encrypt(plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open suspend fun encrypt(plaintext: ByteString, associatedData: ByteString?): ByteString
Link copied to clipboard
open override fun encryptBlocking(plaintext: ByteArray): ByteArray
open override fun encryptBlocking(plaintext: ByteString): ByteString
abstract fun encryptBlocking(plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open fun encryptBlocking(plaintext: ByteString, associatedData: ByteString?): ByteString
Link copied to clipboard
open override fun encryptingSink(ciphertext: RawSink): RawSink
abstract fun encryptingSink(ciphertext: RawSink, associatedData: ByteArray?): RawSink
open fun encryptingSink(ciphertext: RawSink, associatedData: ByteString?): RawSink
Link copied to clipboard
open override fun encryptingSource(plaintext: RawSource): RawSource
abstract fun encryptingSource(plaintext: RawSource, associatedData: ByteArray?): RawSource
open fun encryptingSource(plaintext: RawSource, associatedData: ByteString?): RawSource