A random sequence generator as claimed in claim 17 wherein each node input sequence is extended by the operation y=axd (mod N) where N is the product of two large random primes p and q, d is an integer that is relatively prime to (p-1)(q-1), the node input sequence represents x and the node output sequence represents y. 19.