forked from FFM/pycryptopan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
37 lines (22 loc) · 770 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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