Output ripple voltage will depend more on the capacitor ESR and ESL than capacitance. Also the capacitors must be rated for that ripple current.
Electrolytic capacitors will not be effective at filtering 1MHz ripple, you will need ceramic capacitors (electrolytic capacitors may also be used, but won't do much for 1MHz ripple).