A method and apparatus for generating a random number
暂无分享,去创建一个
The present invention discloses a method and apparatus for generating a random number, belonging to the field of computers. The method comprising: collecting sound in the external environment, the collected sound into a first digital signal; generating a random number based on the first digital signal. The apparatus comprising: a conversion module and a generation module. The present invention can reduce the cost of generating a random number, and may also improve the randomness of the random number generated.