1. In a system which utilizes random numbers, a random number generator which comprises means for detecting photoevents, means for illuminating said detecting means with an image having a specified intensity distribution, and means responsive to the photoevents detected by said detecting means for deriving random number outputs having a probability density in accordance with said distribution and in accordance with the spatial coordinates of the photoevents detected by said detecting means.