Ask Your Question

Revision history [back]

While you got already a good specific answer you might be interested in Sage's LFSR implementation, see http://sagemath.org/doc/reference/cryptography/sage/crypto/lfsr.html