comparison README.txt @ 29:f8734f73baa8

Update the README with an example command-line invocation.
author Brian Neal <bgneal@gmail.com>
date Tue, 29 May 2012 17:30:49 -0500
parents 9e499e386fac
children 62e0d0e2628b
comparison
equal deleted inserted replaced
28:067205259796 29:f8734f73baa8
71 print(plaintext) 71 print(plaintext)
72 72
73 This program prints:: 73 This program prints::
74 74
75 THEXRUSSIANSXAREXCOMINGX 75 THEXRUSSIANSXAREXCOMINGX
76
77 Py-Enigma also includes a command-line application for processing messages.
78 Assuming you have a proper key file that contains the same initial settings as
79 the code above, the above example can be performed on the command-line::
80
81 $ pyenigma --key-file=keys.txt --start=WXC --text='KCH'
82 BLA
83 $ pyenigma --key-file=keys.txt --start=BLA --text='NIBLFMYMLLUFWCASCSSNVHAZ'
84 THEXRUSSIANSXAREXCOMINGX
85
86 The format of the key file can be found in the documentation.
76 87
77 88
78 Requirements 89 Requirements
79 ------------ 90 ------------
80 91