com.github.rs3vans.krypto / deriveAesKeyFromPassword

deriveAesKeyFromPassword

fun deriveAesKeyFromPassword(password: CharArray, salt: Bytes, iterations: Int = PBE_KEY_DEFAULT_ITERATIONS, provider: KryptoProvider = KryptoProvider.defaultInstance): SecretKey

Derives a new AES key from the given password using a strong PBE-based algorithm.