LFSR & NFSR Stream Cipher Implementation (Python), Designed and implemented a 7-bit Linear Feedback Shift Register (LFSR) using the polynomial P(x) = x⁷ + x⁴ + x² + 1, including period analysis, irreducibility testing, and sequence generation. Developed a Python simulation to compute feedback bits, update register states, and evaluate the 63-bit output sequence. Created three Non-Linear Feedback Shift Register (NFSR) variants: Feedback-only, adding the non-linear term (S₃ × S₁) → achieved a 98-bit period; Feedforward-only, applying (S₃ × S₁) at the output → 63-bit period; Combined feedback & feedforward, using (S₅ × S₃) → 103-bit period. Performed frequency tests and periodicity analysis to compare randomness across all designs, demonstrating understanding of polynomial primitivity, seed effects, and non-linear tap influence on stream-cipher behavior.