|
pygame is
pygame.org is
|
SolitaireCryptoDemo
SolitaireCryptoDemo - 1.2John Eriksson (wmjoers)Tags:Description
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.
LinksScreenshot click to view original size
Releases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
| spotlight |
|
|
|
| our projects |
|
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
|
|
|
| recent releases |
|
Feb 12, 2012
Feb 11, 2012
Feb 10, 2012
Feb 9, 2012
Feb 7, 2012
Feb 5, 2012
Feb 4, 2012
Feb 3, 2012
... more!
|
|