LFSR Encryption and Decryption Implementation

Implements a Linear Feedback Shift Register (LFSR) algorithm in Python to encrypt and decrypt messages. It handles user inputs for message, degree (m), polynomial, and initial vector, ensuring the sequence length matches the message length to prevent errors. It outputs a clock/flip-flop state table, encrypted binary values, and the final decrypted string.

ECNU-ICALK Updated 559 repo stars

File contents

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/lfsr-encryption-and-decryption-implementation commit 6214bc798f

Frequently asked questions

npx skillmds@latest add ecnu-icalk/lfsr-encryption-and-decryption-implementation