In this paper, we present a modular approach for addressing the identity leaks of selection functions, decoupling the problem of
implementing an anonymous selection of the participants, from the problem of implementing others task, e.g. consensus.
We present an ideal functionality for anonymous selection that can be more easily composed with other protocols.
We then show an instantiation of our anonymous selection functionality based on the selection function of Algorand.