Patent ID: 8793296

Claim:
A random number generating method comprising: a sample selection step sending a signal source received by a sampling device to a transcoder for outputting a data sequence, and randomly retrieving a segment of data having an operation length from the data sequence via an operation unit, wherein the randomly-retrieved data segment is used as a seed; an operation value setting step converting the seed into a first one of a plurality of operation values via a setup algorithm contained in the operation unit, wherein the plurality of operation values other than the first operation value is initially set as 0; a randomness level determination step determining whether a difference between the first one and a second one of the plurality of operation values is larger than a threshold value via the operation unit; an operation value processing step determining whether a total number of times the first operation value has been inputted into the operation value processing step for executions is larger than a predetermined value upon negative determination of the randomness level determination step, wherein the first operation value is reset by a reset algorithm contained in the operation unit and the operation value processing step is re-performed if the determination of the operation value processing step is negative, and the sample selection step is re-performed if the determination of the operation value processing step is positive; a random number generation step converting the plurality of operation values into a random number via a random number algorithm contained in the operation unit, upon positive determination of the randomness level determination step; and a random number processing step calculating a total number of bits of the random number via the operation unit, wherein the operation value setting step is performed if the total number of bits of the random number is not a multiple of the operation length of the seed, and a latest random number having a length equal to the operation length is set as the seed and the operation value setting step is re-performed if the total number of bits of the random number is the multiple of the operation length of the seed.