Final version Blum Blum Shub