Projects

PyPPP

This is a my implementation Steve Gibsons, Perfect Paper Passwords. It is written in python, and it rely’s on rijndael.py which can be found here.
You can find the source code to PyPPP: here

To create a instance of PyPPP (Python PPP) you need to import it.

>>> from pyppp import PyPPP

Once you have made that you need to create a instance by doing:

>>> p = PyPPP()

If you want to create a key you need to tell PyPPP the key, else you need to create one:

>>> p.key = MY_PPP_KEY

Or, you can generate the key:

>>> MY_PPP_KEY = p.GenerateRandomSequenceKey()

You can retrieve a array containing every passcode in a key, you can do this by:

>>> p.RetrieveCard(CARD_NUMBER)

You can get infomation for any count, for example:

>>> GetSequenceInfo(COUNTER)

Will return the card on which it belongs to, the number on the card, the column on the card, and the row.

You can also get the passcode, you can do so by:

>>> RetrievePasscode(COUNTER)

django-blog

You can find the source code to this: here