A random number generator includes a random pulse generator, a scrambler
and a counter. The random pulse generator generates a plurality of random
pulses. The scrambler generates an initial value. The counter generates a
random number code based on the initial value and a temporal interval of
the plurality of random pulses. The initial value is varied, and the
initial value is not a fixed value.