Skip to content

aaronkaplan/pycryptopan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")


Unittests
=========

$ python -m unittest


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

About

A Crypto-PAn implementation for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%