Blum-Blum-Shub generator, and Blum-Goldwasser encryption.