Configurable number of threads and key computation complexity