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

commonMain.cash.z.ecc.android.crypto.Pbkdf2Sha512.kt Maven / Gradle / Ivy

The newest version!
package cash.z.ecc.android.crypto

internal expect object Pbkdf2Sha512 {
    /**
     * Generate a derived key from the given parameters.
     *
     * @param p the password
     * @param s the salt
     * @param c the iteration count
     * @param dkLen the key length in bits
     */
    fun derive(
        p: CharArray,
        s: ByteArray,
        c: Int,
        dkLen: Int,
    ): ByteArray
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy