Functions

Link copied to clipboard
open suspend fun decrypt(ciphertext: ByteArray, associatedData: ByteArray?): ByteArray
open suspend fun decrypt(ciphertext: ByteString, associatedData: ByteString?): ByteString
open suspend fun decrypt(ciphertext: ByteArray): ByteArray
open suspend fun decrypt(ciphertext: ByteString): ByteString
Link copied to clipboard
abstract fun decryptBlocking(ciphertext: ByteArray, associatedData: ByteArray?): ByteArray
open fun decryptBlocking(ciphertext: ByteString, associatedData: ByteString?): ByteString
abstract fun decryptBlocking(ciphertext: ByteArray): ByteArray
open fun decryptBlocking(ciphertext: ByteString): ByteString
Link copied to clipboard
abstract fun decryptingSink(plaintext: RawSink, associatedData: ByteArray?): RawSink
open fun decryptingSink(plaintext: RawSink, associatedData: ByteString?): RawSink
abstract fun decryptingSink(plaintext: RawSink): RawSink
Link copied to clipboard
abstract fun decryptingSinkWithIv(iv: ByteArray, ciphertext: RawSink, associatedData: ByteArray?): RawSink
open fun decryptingSinkWithIv(iv: ByteString, ciphertext: RawSink, associatedData: ByteString?): RawSink
abstract fun decryptingSinkWithIv(iv: ByteArray, plaintext: RawSink): RawSink
open fun decryptingSinkWithIv(iv: ByteString, plaintext: RawSink): RawSink
Link copied to clipboard
abstract fun decryptingSource(ciphertext: RawSource, associatedData: ByteArray?): RawSource
open fun decryptingSource(ciphertext: RawSource, associatedData: ByteString?): RawSource
abstract fun decryptingSource(ciphertext: RawSource): RawSource
Link copied to clipboard
abstract fun decryptingSourceWithIv(iv: ByteArray, plaintext: RawSource, associatedData: ByteArray?): RawSource
open fun decryptingSourceWithIv(iv: ByteString, plaintext: RawSource, associatedData: ByteString?): RawSource
abstract fun decryptingSourceWithIv(iv: ByteArray, ciphertext: RawSource): RawSource
open fun decryptingSourceWithIv(iv: ByteString, ciphertext: RawSource): RawSource
Link copied to clipboard
open suspend fun decryptWithIv(iv: ByteArray, ciphertext: ByteArray, associatedData: ByteArray?): ByteArray
open suspend fun decryptWithIv(iv: ByteString, ciphertext: ByteString, associatedData: ByteString?): ByteString
open suspend fun decryptWithIv(iv: ByteArray, ciphertext: ByteArray): ByteArray
open suspend fun decryptWithIv(iv: ByteString, ciphertext: ByteString): ByteString
Link copied to clipboard
abstract fun decryptWithIvBlocking(iv: ByteArray, ciphertext: ByteArray, associatedData: ByteArray?): ByteArray
open fun decryptWithIvBlocking(iv: ByteString, ciphertext: ByteString, associatedData: ByteString?): ByteString
abstract fun decryptWithIvBlocking(iv: ByteArray, ciphertext: ByteArray): ByteArray
open fun decryptWithIvBlocking(iv: ByteString, ciphertext: ByteString): ByteString
Link copied to clipboard
open suspend fun encrypt(plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open suspend fun encrypt(plaintext: ByteString, associatedData: ByteString?): ByteString
open suspend fun encrypt(plaintext: ByteArray): ByteArray
open suspend fun encrypt(plaintext: ByteString): ByteString
Link copied to clipboard
abstract fun encryptBlocking(plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open fun encryptBlocking(plaintext: ByteString, associatedData: ByteString?): ByteString
abstract fun encryptBlocking(plaintext: ByteArray): ByteArray
open fun encryptBlocking(plaintext: ByteString): ByteString
Link copied to clipboard
abstract fun encryptingSink(ciphertext: RawSink, associatedData: ByteArray?): RawSink
open fun encryptingSink(ciphertext: RawSink, associatedData: ByteString?): RawSink
abstract fun encryptingSink(ciphertext: RawSink): RawSink
Link copied to clipboard
abstract fun encryptingSinkWithIv(iv: ByteArray, ciphertext: RawSink, associatedData: ByteArray?): RawSink
open fun encryptingSinkWithIv(iv: ByteString, ciphertext: RawSink, associatedData: ByteString?): RawSink
abstract fun encryptingSinkWithIv(iv: ByteArray, ciphertext: RawSink): RawSink
open fun encryptingSinkWithIv(iv: ByteString, ciphertext: RawSink): RawSink
Link copied to clipboard
abstract fun encryptingSource(plaintext: RawSource, associatedData: ByteArray?): RawSource
open fun encryptingSource(plaintext: RawSource, associatedData: ByteString?): RawSource
abstract fun encryptingSource(plaintext: RawSource): RawSource
Link copied to clipboard
abstract fun encryptingSourceWithIv(iv: ByteArray, plaintext: RawSource, associatedData: ByteArray?): RawSource
open fun encryptingSourceWithIv(iv: ByteString, plaintext: RawSource, associatedData: ByteString?): RawSource
abstract fun encryptingSourceWithIv(iv: ByteArray, plaintext: RawSource): RawSource
open fun encryptingSourceWithIv(iv: ByteString, plaintext: RawSource): RawSource
Link copied to clipboard
open suspend fun encryptWithIv(iv: ByteArray, plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open suspend fun encryptWithIv(iv: ByteString, plaintext: ByteString, associatedData: ByteString?): ByteString
open suspend fun encryptWithIv(iv: ByteArray, plaintext: ByteArray): ByteArray
open suspend fun encryptWithIv(iv: ByteString, plaintext: ByteString): ByteString
Link copied to clipboard
abstract fun encryptWithIvBlocking(iv: ByteArray, plaintext: ByteArray, associatedData: ByteArray?): ByteArray
open fun encryptWithIvBlocking(iv: ByteString, plaintext: ByteString, associatedData: ByteString?): ByteString
abstract fun encryptWithIvBlocking(iv: ByteArray, plaintext: ByteArray): ByteArray
open fun encryptWithIvBlocking(iv: ByteString, plaintext: ByteString): ByteString