/// Return a new circuit parameter struct using the given network parameters and algorithm to use.
/// Extract a [`CircParameters`] from the [`NetParameters`] from a consensus for an exit circuit or
/// Extract a [`CircParameters`] from the [`NetParameters`] from a consensus for an onion circuit