SolitaireCryptoDemo - 1.2
A visual demonstration of the steps involved in generating a keystream using Bruce Schneier's Solitaire encryption algorithm.
John Eriksson
(wmjoers)
A visual demonstration of the steps involved in generating a keystream using Bruce Schneier's Solitaire encryption algorithm.
Featuring smooth animations and descriptions of all steps.
Type "python SolitaireCryptoDemo.py" to start the demo.
You can also use several commandline options:
- -r - Setup a shuffled deck.
- -u - Setup an unkeyed deck.
- -k KEY - Setup a keyed deck using the algorithm described at http://www.schneier.com/solitaire.html.
- -o - Print found keys to standard out.
- -h - Display this text.
Examples:
- python SolitaireCryptoDemo.py
starts the demo with a default deck (keyed with "CRYPTONOMICON"). - python SolitaireCryptoDemo.py -r
starts the demo with a shuffled deck. - python SolitaireCryptoDemo.py -u -o
starts the demo with an unkeyed deck and prints the keys. - python SolitaireCryptoDemo.py -k MYSECRETKEY
starts the demo with a keyd deck using the passphrase"MYSECRETKEY".
Changes
- Fixed some small bugs and misspellings.
- Modified the folder structure.
- Added several command line arguments for setting up the initial deck.
- Added a command line argument for outputting the keystream. For debugging purposes.
- Added a title showing the current step of the algorithm.
Links
Releases
SolitaireCryptoDemo 1.0 — 8 Feb, 2007
SolitaireCryptoDemo 1.1 — 5 Oct, 2008
SolitaireCryptoDemo 1.2 — 6 Oct, 2008