April 27
Thoughts on final project implementation :
pipes
It could be cool to use unix pipes, which each stage
as a command line program which processes stdin to stdout.
cat before.txt | ./a2b.py > after.txt
If you're writing python and in a unix-like OS,
you can make the file executable with (a) the shebang trick
and (b) "chmod +x file.py". See for example the filter1.py
code, attached.
error insertion
We have had some recent discussions (and moaning) about
bytes vs chars in python2 and python3.
I have written a sample bit error pipe which you may
use in your projects if you wish.
cat test_in.txt | ./biterror.py > test_out.txt
DH
And I've uploaded some python code related to the diffie hellman stuff to
code/crypto