Skip to content
A Crypto-PAn implementation for python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README
cryptopan.py
setup.py

README

PyCrypto-PAn
============

A IP address anonymizer in Python using the `Crypto-PAn`_ algorithm.
Based on `IP::Anonymous`_ by John Kristoff 

.. _IP::Anonymous: http://search.cpan.org/dist/IP-Anonymous/lib/IP/Anonymous.pm
.. _Crypto-PAn: http://www.cc.gatech.edu/computing/Telecomm/projects/cryptopan/

requirements:
  
* pycrypto ``pip install pycrypto``

installation::
  
  python setup.py install

usage::

  from cryptopan import CryptoPan
  c=CryptoPan("".join([chr(x) for x in range(0,32)]))
  print c.anonymize("192.0.2.0")

Acknowledgements
----------------

This work was funded by the EU FP7 Project `CONFINE`_.
Licensed under the LGPL - see the file LICENSE for details

.. _CONFINE: http://www.confine-project.eu
You can’t perform that action at this time.