Skip to content

A python code that output Latex format that can be converted to pnf image for the desired LFSR.

Notifications You must be signed in to change notification settings

kelalaka153/LFSR-Automatic-Draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

LFSR-Automatic-Draw

A python code that output Latex format that can be converted to png image for the desired LFSR.

The code is self explanatory, at least in my view. Go to The taps and defind your LFSR with the initial values. Compile with python3.8 lfsr_draw.py > lfsr.tex and next run pdflatex -shell-escape lfsr.tex and your lfsr.png is there.

Sample images;

image

image

The First LFSR of A5/1 outputted for another Q.

image

Duing working on A5/1's LFSR many bugs were cleaned! Font size is still an issue.

This is used in Cryptography.SE as a meta test.

and you can produce animations, too ( very soon the code is coming)

image

use

convert -delay 50 -loop 0 lfsr*.png lfsr.gif

to produce the gif from the output images.


The Library is free to use, just give the reference, done!

No liability!

About

A python code that output Latex format that can be converted to pnf image for the desired LFSR.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages