1. A random number generator adapted to receive an input of a number of bits coming from a physical source, wherein the generator comprising, in combination: at least one symbol-generating physical source; an arithmetic encoder; and smoothing means adapted to smooth the residual output biases.