A method and apparatus for ensuring the continuity of a random number output signal during a post-von Neumann post-processing are disclosed. According to an aspect of the present invention, there is provided a random number generating apparatus to which a von Neumann post-processing is applied, comprising: a first random number generating unit for generating a random number having a random number greater than a predetermined value; A conversion unit for converting the random number sequence generated by the first random number generation unit into a plurality of parallel data; A plurality of von Neumann post-processing units for eliminating deflection of the plurality of parallel data converted by the conversion unit using a Von Neumann post-processing technique and outputting the resu A first multiplexer for receiving and selectively outputting a random number output from the plurality of von Neumann post-processors; A memory buffer for storing a random number output from the first multiplexer; A blank checker for checking whether all the random numbers stored in the memory buffer have been consumed; A second random number generator for generating a preliminary random number; And outputting a random number stored in the memory buffer when the memory buffer has an extra random number, and outputting the random number generated in the second random number generator when the random number stored in the memory buffer is exhausted, And a multiplexer.
展开▼