RANDOM NUMBER GENERATION INCLUDING SKEWNESS CONTROL
First Claim
1. A device for generating random numbers, comprising:
- a bit generator for generating bits formed to generate a bit of a value 0 or 1 with a probability depending on a control quantity;
a counter for determining a difference in the number of bits of values 0 and 1 generated, and for determining a difference value for bits output by the bit generator;
a storage having a plurality of memory regions, wherein each memory region is associated with a difference value, wherein the storage is formed to store a bit output by the bit generator in the memory region associated with the difference value; and
a reader for reading out the bits from a memory region if a predetermined number of bits is stored in the one of the memory regions.
1 Assignment
0 Petitions
Accused Products
Abstract
Random numbers can be generated in a statistically independent manner and with identical probability if the bits generated by a controlled bit generator are stored by a storage in a plurality of memory regions, wherein the bits are each stored in such memory regions associated with a difference of the bits of the values 1 and 0 generated up to the time of storage, and if all the bits stored within a memory region are subjected to algorithmic post-processing as soon as a predetermined number of bits within a memory region is exceeded. The fact that the bits are not stored and processed sequentially, i.e. in the order of generation, allows using a sequence of bits within which the individual bits are statistically independent of one another for the algorithmic post-processing. Thus, a way of performing algorithmic post-processing of the bits without reducing the entropy is provided.
-
Citations
14 Claims
-
1. A device for generating random numbers, comprising:
-
a bit generator for generating bits formed to generate a bit of a value 0 or 1 with a probability depending on a control quantity;
a counter for determining a difference in the number of bits of values 0 and 1 generated, and for determining a difference value for bits output by the bit generator;
a storage having a plurality of memory regions, wherein each memory region is associated with a difference value, wherein the storage is formed to store a bit output by the bit generator in the memory region associated with the difference value; and
a reader for reading out the bits from a memory region if a predetermined number of bits is stored in the one of the memory regions. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for generating random numbers, comprising:
-
generating bits of a value 0 or 1, wherein the probability of generating the value 0 or 1 depends on a control quantity;
determining the difference in the number of the bits of the values 0 and 1 generated;
storing a bit generated in a memory region of a plurality of memory regions of a storage in which each memory region is associated with a difference value, wherein the bit is stored in the memory region associated with the difference value; and
reading out the bits from the memory region if a predetermined number of bits is stored in the one of the memory regions.
-
-
11. A computer program having a program code for performing a method for generating random numbers, comprising:
- generating bits of a value 0 or 1, wherein the probability of generating the value 0 or 1 depends on a control quantity;
determining the difference in the number of the bits of the values 0 and 1 generated;
storing a bit generated in a memory region of a plurality of memory regions of a storage in which each memory region is associated with a difference value, wherein the bit is stored in the memory region associated with the difference value; and
reading out the bits from the memory region if a predetermined number of bits is stored in the one of the memory regions, when the program runs on a computer.
- generating bits of a value 0 or 1, wherein the probability of generating the value 0 or 1 depends on a control quantity;
-
12. A device for generating random numbers, comprising:
-
a bit generator for generating bits formed to generate a bit of a value 0 or 1 with a probability depending on a control quantity;
a counter for determining the difference in the number of bits of values 0 and 1 generated, and for determining a difference value for bits output by the bit generator; and
a storage having a plurality of memory regions, wherein each memory region is associated with a difference value, wherein the storage is formed to store a bit output by the bit generator in the memory region associated with the difference value.
-
-
13. A method for generating random numbers, comprising:
-
generating bits of a value 0 or 1, wherein the probability of generating the value 0 or 1 depends on a control quantity;
determining the difference in the number of the bits of the values 0 and 1 generated; and
storing a bit generated in a memory region of a plurality of memory regions of a storage in which each memory region is associated with a difference value, wherein the bit is stored in the memory region associated with the difference value.
-
-
14. A computer program having a program code for performing a method for generating random numbers, comprising:
-
generating bits of a value 0 or 1, wherein the probability of generating the value 0 or 1 depends on a control quantity;
determining the difference in the number of the bits of the values 0 and 1 generated; and
storing a bit generated in a memory region of a plurality of memory regions of a storage in which each memory region is associated with a difference value, wherein the bit is stored in the memory region associated with the difference value, when the program runs on a computer.
-
Specification