1. A device for generating random numbers, comprising: a bit generator formed to generate a sequence of bits having a value of 0 or 1 at a probability depending on a control quantity; a counter formed to determine, for each currently generated bit output by the bit generator, a difference in the number of bits in the sequence having values 0 and 1 generated up to the currently generated bit; a storage having a plurality of memory regions, wherein each memory region is addressed by a different difference value output by the counter, wherein the storage is formed to store each currently generated bit output by the bit generator in the memory region addressed by the difference value output by the counter, wherein the difference value indicates the difference determined up to the currently generated bit; and a reader formed to read out the bits from a memory region if a predetermined number of bits is stored in the one of the memory regions.