A compact dual function Random Number Generator and Stream Cipher Generator includes
a Crypto-engine has a controller for controlling the engine to operate in one or
other of its functions. The Crypto-engine incorporates a plurality of clipped Hopfield
Neural Network pairs.