Skip to content

Implementing the Solitaire crypto scheme from the Cryptonomicon book

License

Notifications You must be signed in to change notification settings

sinner-/solitaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solitaire Cipher

Python implementation of Solitaire Cipher from Cryptonomicon (book by Neal Stephenson, cipher by Bruce Schneier).

Pre-requisites

  • python virtualenvwrapper

Install

  • mkvirtualenv solitaire
  • python setup.py install

Usage

  • workon solitaire
  • solitaire --genkey --outfile /tmp/key
  • ENCRYPTED_MSG=`solitaire --encrypt --keyfile /tmp/key --message DONOTUSEPC`
  • echo $ENCRYPTED_MSG
  • solitaire --decrypt --keyfile /tmp/key --message $ENCRYPTED_MSG

About

Implementing the Solitaire crypto scheme from the Cryptonomicon book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages