Protecting Lottery And Prize Machines From Manipulation