Protecting Randomness