摘要:
A method of obtaining uniform and independent random numbers is given (a) comprising two distinct odd primes p1, p2 that give mutually coprime integers q1=(p1−1)/2 and q2=(p2−1)/2 with different parity to form the modulus d=p1p2; (b) comprising primitive roots z1, z2 of primes p1, p2, respectively, giving congruence relations z≡zj mod (pj) for j=1, 2 that determine the multiplier z; and (c) comprising the initial value n coprime with d=p1p2. The method generates the coset sequence n ={r1=n, r2, r3, . . . } of period T=2q1q2 recursively by rj+1=zrj mod (d) for j=1, 2, . . . in the reduced residue class group Z*d, giving {v1=r1/d, v2=r2/d, . . . } for output.
摘要:
A method of generating a set of unique pseudorandom N-digit base-B integers includes the steps of selecting an integer A, wherein A is equal to or greater than 0 and equal to or less than BN−1, and adding to integer A an integer P, modulus BN, wherein P is equal to or greater than 0 and equal to or less than BN−1, and wherein P and N are relatively prime, to obtain a first element of the set. The method generates a second element of the set by adding P to the first element, modulus BN. The method generates the complete set of unique pseudorandom N-digit base-B integers by repeating the process BN times. Elements of the set may be used to populate a data set.
摘要翻译:一种生成一组唯一的伪随机数N位基B整数的方法包括以下步骤:选择一个整数A,其中A等于或大于0并且等于或小于BN-1,并且加到整数A a 整数P,模数BN,其中P等于或大于0并且等于或小于BN-1,并且其中P和N相对于素数,以获得该组的第一元素。 该方法通过将P加到第一个元素BN来生成该集合的第二个元素。 该方法通过重复BN次数生成完整的一组唯一的伪随机数N位基B整数。 该集合的元素可用于填充数据集。
摘要:
A device for and method of generating an uncorrelated pseudo-random bit sequence by first selecting a user-definable value K. Next, factoring K+1 into m prime factors q1, q2, . . . , qm, where q1, q2, . . . , qm are ordered from smallest value q1 to largest value qm. Next, generating m pseudo-random sequences r1, r2, . . . , rm, where each pseudo-random bit sequence ri is uniformly distributed over a range (0, . . . , qi−1), and where i=1, 2, . . . , m. Finally, generating the uncorrelated pseudo-random sequence as R=r1+q1r2+q1q2r3+ . . . +q1q2 . . . qm−1rm.
摘要:
A method and apparatus are provided for broadcast encryption using a bilinear map, defined on elliptic curves. The method for the broadcast encryption using the bilinear map includes generating a first random number for all nodes except for a plurality of leaf nodes of an a-ary tree structure, configured in a plurality of depths, generating ‘a’ pieces of a second random number to allocate the generated second random number to all nodes except for a root node of the a-ary tree structure, generating public key information by applying the second random number to a second cyclic group, and generating a secret key group by applying the first and the second random numbers to a first cyclic group.
摘要:
Embodiments of the present invention relate to a data processing system including means to play an interruptible or skipable video sequence; and a random number generator for generating a random number associated with an interruption of the interruptible or skipable video sequence.
摘要:
Using a new mathematical technique called the T-sequence, the inventor has discovered a powerful primality testing method that meets all four conditions above. A similar approach can be applied to perform fast factoring for numerous special cases, a method that can, in all liklihood, be extended to the general case, making possible a general and fast factoring algorithm. (Researchers heretofore have been able to factor only in sub-exponential time, never in polynomial time.) The same T-sequence can be used to construct a prime number formula (long sought after but never achieved) and a good random number generator. The former can be used to generate infinitely many prime numbers of any size efficiently, and the latter can generate non-periodic and absolutely chaotic random numbers. These numbers are widely used in all areas of industrial and scientific simulations. In general, the T-sequence can be used to handle efficiently the fundamental problems concerning prime numbers (which include primality testing, factoring, prime number formula, infinite-pattern prime problem, etc.).
摘要:
A method of performing numerical computations in a mathematical system with at least one function, including expressing the mathematical system in discrete terms, expressing at least one variable of the mathematical system as a fixed-point number, performing the computations in such a way that the computations include the at least one variable expressed as a fixed-point number, obtaining, from the computations, a resulting number, the resulting number representing at least one of at least a part of a solution to the mathematical system, and a number usable in further computations involved in the numerical solution of the mathematical system, and extracting a set of data which represents at least one of a subset of digits of the resulting number, and a subset of digits of a number derived from the resulting number.
摘要:
A register 205 of each pseudorandom number generating circuit 101 takes in and holds a state data composed of a plurality of bits in synchronism with a clock pulse of a clock signal. Function generator circuits 2021 and 2022 output data each composed of a plurality of bits correspondingly to the state data held in the register 205. A selector 203 selects a specific bit of either one of the two data output from the function generator circuits on the basis of a pseudorandom number Xi−1 generated by a preceding one of the pseudorandom number generating circuits and outputs it as a pseudorandom number Xi. On the other hand, another selector 206 selects one of the data output from the function generator circuits, except the specific bit thereof, according to the pseudorandom number Xi−1 generated by the preceding pseudorandom number generating circuit and supplies the selected data to the register 205 as the state data. Thus, it is possible to easily generate cryptographically highly safe pseudorandom numbers.
摘要:
To provide an apparatus for generating pseudo-random numbers at a high speed with sufficient cryptographical security, the apparatus comprises: a T-ary counter (101) for generating a count number from 0 to T-1 cyclically by incrementing the count number in synchronization with a clock signal; a modulus memory (103) for outputting a prime number read out from T prime numbers prepared therein according to a value of the count number; an n-bit register (102) for registering and outputting an n-bit value in synchronization with the clock signal; an expanded affine transformation circuit (104) for outputting an intermediate number, by performing expanded affine transformation of the n-bit value registered in the n-bit register (102) according to the prime number, the n-bit value being revised with the intermediate number in synchronization with the clock signal; and a demagnification circuit (105) for outputting certain s bits of the intermediate number as one of the pseudo-random numbers in synchronization with the clock signal.
摘要:
An initial value for each processor of a multiprocessor system is set using a specified calculating expression. The system determines a random number calculating expression using a multiplicative congruence method so that random numbers generated from these initial values may make a sequence of random numbers in series, and generates random numbers using the calculating expression. The system permits the adding of a processor in the middle of generation of random numbers by making equal to one another the number of random numbers generated by the existing processors, setting an initial value in each processor on the basis of the total number of already generated random numbers, and generating random numbers according to a sequence of random numbers prior to adding the processor until reaching a specified total number of random numbers to be generated.