working blum blum shub for password generation