Generate private keys with smaller secret exponents properly.