Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
data class AesHmacSha2EncryptedData(val iv: String, val ciphertext: String, val mac: String)
Link copied to clipboard
class DerivedKeys(val aesKey: ByteArray, val hmacKey: ByteArray)
Link copied to clipboard
interface Hasher : AutoCloseable
Link copied to clipboard
Link copied to clipboard
class Sha256ByteFlow(content: ByteArrayFlow, val hash: StateFlow<String?>) : Flow<ByteArray>

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
actual fun ERROR CLASS: Symbol not found for ByteArrayFlow.decryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ERROR CLASS: Symbol not found for ByteArrayFlow
expect fun ByteArrayFlow.decryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.decryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.decryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.decryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
Link copied to clipboard
Link copied to clipboard
suspend fun deriveKeys(key: ByteArray, name: String): DerivedKeys
Link copied to clipboard
Link copied to clipboard
actual fun ERROR CLASS: Symbol not found for ByteArrayFlow.encryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ERROR CLASS: Symbol not found for ByteArrayFlow
expect fun ByteArrayFlow.encryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.encryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.encryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
actual fun ByteArrayFlow.encryptAes256Ctr(key: ByteArray, initialisationVector: ByteArray): ByteArrayFlow
Link copied to clipboard
suspend fun encryptAesHmacSha2(content: ByteArray, key: ByteArray, name: String, initialisationVector: ByteArray = SecureRandom.nextBytes(16)): AesHmacSha2EncryptedData
Link copied to clipboard
actual fun fillRandomBytes(array: ByteArray)
expect fun fillRandomBytes(array: ByteArray)
actual fun fillRandomBytes(array: ByteArray)
actual fun fillRandomBytes(array: ByteArray)
actual fun fillRandomBytes(array: ByteArray)
actual fun fillRandomBytes(array: ByteArray)
Link copied to clipboard
Link copied to clipboard
actual suspend fun generatePbkdf2Sha512(password: String, salt: ByteArray, iterationCount: Int, keyBitLength: Int): ByteArray
expect suspend fun generatePbkdf2Sha512(password: String, salt: ByteArray, iterationCount: Int, keyBitLength: Int): ByteArray
actual suspend fun generatePbkdf2Sha512(password: String, salt: ByteArray, iterationCount: Int, keyBitLength: Int): ByteArray
actual suspend fun generatePbkdf2Sha512(password: String, salt: ByteArray, iterationCount: Int, keyBitLength: Int): ByteArray
actual suspend fun generatePbkdf2Sha512(password: String, salt: ByteArray, iterationCount: Int, keyBitLength: Int): ByteArray
Link copied to clipboard
actual suspend fun hmacSha256(key: ByteArray, data: ByteArray): ByteArray
expect suspend fun hmacSha256(key: ByteArray, data: ByteArray): ByteArray
actual suspend fun hmacSha256(key: ByteArray, data: ByteArray): ByteArray
actual suspend fun hmacSha256(key: ByteArray, data: ByteArray): ByteArray
actual suspend fun hmacSha256(key: ByteArray, data: ByteArray): ByteArray
Link copied to clipboard
actual fun Sha256(): Hasher
expect fun Sha256(): Hasher
actual fun Sha256(): Hasher
actual fun Sha256(): Hasher
actual fun Sha256(): Hasher
Link copied to clipboard
Link copied to clipboard
fun ERROR CLASS: Symbol not found for ByteArrayFlow.withCCCryptor(operation: ERROR CLASS: Symbol not found for CCOperation, key: ByteArray, initialisationVector: ByteArray): ERROR CLASS: Symbol not found for ByteArrayFlow