First time here? Check out the FAQ!
answered 2015-03-26 09:32:44 +0100
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