A numerical experiment on an algorithm to generate integer-valued random se
quences by means of deterministic chaos is reported. The underlying dynamic
al system represents the oscillator known as the unidirectional loop, which
features amplitude-phase nonlinearity, filtering, and delayed feedback. It
is demonstrated that a random sequence thus obtained is nonperiodic and cl
ose to white noise and that it can serve as the basis for a chaotic code wi
th prescribed correlation properties, the code size dramatically exceeding
the code length.