generateKeyAndIv

fun generateKeyAndIv(password: ByteArray, salt: ByteArray, hashAlgorithm: String = KDF, keyLength: Int = 32, ivLength: Int, saltLength: Int, iterations: Int = 1): Pair<ByteArray, ByteArray>?(source)