Package-level declarations

Types

Link copied to clipboard
internal interface DecryptionResult
Link copied to clipboard

Provides functions to encrypt and decrypt streams of data. Streams of data: big amounts of data, that can be split into smaller chunks / messages. For example, a huge file can be read in chunks, encrypted in chunks and then decrypted in chunks. This is done using Source and Sink.

Link copied to clipboard
internal data class XChaChaPoly1305AuthenticationData(val passphrase: String, val salt: <Error class: unknown class>, val additionalData: <Error class: unknown class> = ubyteArrayOf(), val hashOpsLimit: <Error class: unknown class> = HASH_OPS_LIMIT, val hashMemLimit: Int = HASH_MEM_LIMIT)

Functions

Link copied to clipboard
internal suspend fun initializeLibSodiumIfNeeded()