Functions

Link copied to clipboard
abstract fun createEncryptFunction(associatedData: ByteArray?): CipherFunction
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: ByteString): ByteString
open fun encryptBlocking(plaintext: ByteString, associatedData: ByteString?): ByteString
open override fun encryptBlocking(plaintext: ByteArray): ByteArray
open override fun encryptBlocking(plaintext: ByteArray, associatedData: ByteArray?): ByteArray
Link copied to clipboard
open fun encryptingSink(ciphertext: RawSink, associatedData: ByteString?): RawSink
open override fun encryptingSink(ciphertext: RawSink): RawSink
open override fun encryptingSink(ciphertext: RawSink, associatedData: ByteArray?): RawSink
Link copied to clipboard
open fun encryptingSource(plaintext: RawSource, associatedData: ByteString?): RawSource
open override fun encryptingSource(plaintext: RawSource): RawSource
open override fun encryptingSource(plaintext: RawSource, associatedData: ByteArray?): RawSource