But does lotteries have that? And do (most) people check if they do have things to prevent fraud?
For mine it's not really needed since I get the number from a source beyond my control that everyone can verify and the winners is based on hashes of their transactions. But for a site that does use hashes:
http://bitcoin-kamikaze.com/You see the hash before you begin. They can't change the outcome.