All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.inkapplications.glassconsole.client.pin.LibSodiumInitializer.kt Maven / Gradle / Ivy

package com.inkapplications.glassconsole.client.pin

import com.ionspin.kotlin.crypto.LibsodiumInitializer
import regolith.init.Initializer
import regolith.init.TargetManager

/**
 * Regolith Initializer Adapter for LibSodium.
 */
internal object LibSodiumInitializer: Initializer {
    override suspend fun initialize(targetManager: TargetManager) {
        if (LibsodiumInitializer.isInitialized()) return
        LibsodiumInitializer.initialize()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy