Skip to main content

SolitaireCryptoDemo

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

Links

Home Page
http://arainyday.se/projects/python/SolitaireCryptoDemo/

Releases

SolitaireCryptoDemo 1.0 — 8 Feb, 2007

SolitaireCryptoDemo 1.1 — 5 Oct, 2008

SolitaireCryptoDemo 1.2 — 6 Oct, 2008

Pygame.org account Comments