A device for randomness