switch to fermat prime for public modulus