29fbe8e32c
filling in more crap for paver-i-fication
Dan Buch2009-11-28 14:19:54 -05:00
5ca2f9de34
converting from distutils to paver
Dan Buch2009-11-28 14:16:01 -05:00
b932174e34
beginning process of "making it right", enclosing mod 25 one-time pad stuff in its own class
Dan Buch2009-11-28 14:11:40 -05:00
e0d5e608f9
changed test to itest because we're opening files (well, devices ...) using /dev/urandom if available else stdlib random, testing failure scenarios
Dan Buch2009-11-27 23:52:06 -05:00
a7a732e1f9
referencing wikipedia entry in setup info
Dan Buch2009-11-27 23:23:45 -05:00
60cb6b67d4
ignoring .coverage file(s)
Dan Buch2009-11-27 23:12:33 -05:00
feb7a29b19
removing unused code branch, brought test coverage up to 100% :)
Dan Buch2009-11-27 23:12:19 -05:00
5fbb4bfd72
finished implementing encode and decode funcs
Dan Buch2009-11-27 15:33:02 -05:00
91b711bea6
filling in tests for creation of cipherlines from pad+text and text from cipher-pad
Dan Buch2009-11-27 14:40:54 -05:00
76437746a2
fixed determination of pad/text/cipher lines by number
Dan Buch2009-11-27 13:53:24 -05:00
ca11fa5f32
replacing magic numbers with consts, opting for list-based rather than string-based stuff in most places
Dan Buch2009-11-26 08:44:05 -05:00
8cf3df0e3e
s/cypher/cipher/g ... (sigh) I must have been sleepy :P
Dan Buch2009-11-26 08:42:57 -05:00
40d222c164
returning a list from padfill to cut down on all the str.join ops
Dan Buch2009-11-26 08:30:33 -05:00
998bb596ef
starting to implement a pad filler + tests
Dan Buch2009-11-25 23:12:55 -05:00
1b94d6a463
adding __name__ == "__main__" magic to run test suite with just unittest
Dan Buch2009-11-25 20:54:37 -05:00
5023469466
adding test to make sure every second and third line on a blank pad is empty
Dan Buch2009-11-25 20:53:04 -05:00
dca18ca022
implemented the creation of random one-time pads of specified length, defaulting to width of 72
Dan Buch2009-11-25 20:22:41 -05:00
256a92a41d
not quite fully functional python version of "with_chgat"
Dan Buch2009-11-23 08:40:07 -05:00
996ade6414
iterating over each char in the file in a more pythonic way, though still not happy with retaining all of the branches from the C version
Dan Buch2009-11-22 12:22:34 -05:00
2cb096e27e
busted first stab at python version of simple_attr example
Dan Buch2009-11-21 11:35:38 -05:00
e396c88fd1
a less-mangled version of the simple_attr demo
Dan Buch2009-11-21 11:19:08 -05:00
92c130fcd5
Revert "mangling the simple attr example (8.)"
Dan Buch2009-11-21 11:15:54 -05:00
e8f71e4fd8
mangling the simple attr example (8.)
Dan Buch2009-11-21 11:15:39 -05:00
579ad3c15e
finished python version of scanw_example (7.4)
Dan Buch2009-11-21 11:04:40 -05:00
791b8d227c
working through C version of scanw example (7.4)
Dan Buch2009-11-21 11:00:10 -05:00
b13831dc92
worked through the printw_example exercise, added python version
Dan Buch2009-11-19 20:29:11 -05:00
a66477b05f
adding python version of init_func_example
Dan Buch2009-11-18 20:33:10 -05:00
0e6152a741
added python version of hello_world
Dan Buch2009-11-18 20:22:50 -05:00