fixed randomization for Sahai-Zhandry