• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    Python
  • License
    BSD 2-Clause "Sim...
  • Created almost 10 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A python library that implements a number of Privacy Enhancing Technolgies

petlib

A python library that implements a number of Privacy Enhancing Technologies (PETs).

Pre-requisites

On Ubuntu / debian use apt-get to install package libssl-dev. Ensure you also install libffi-dev and python-dev:

sudo apt-get install python-dev
sudo apt-get install libssl-dev
sudo apt-get install libffi-dev

On MacOS, install OpenSSL 1.1.x using homebrew:

brew install [email protected]

On Windows, install 32 bit or 64 bit OpenSSL binary edition matching your Python installation. Ensure libeay32.dll is on the system PATH (https://www.openssl.org/related/binaries.html). Configure the path variables of Microsoft VS compilers for 32 bit or 64 bit architectures, by executing the command vcvars32.bat or vcvarsx86_amd64.bat.

Quick install

If you have pip installed the following command should install petlib:

pip install petlib

Test your installation:

python -c "import petlib; petlib.run_tests()"

Build & Test

You may use setuptools and tox to build and test the library:

python setup.py build_ext

To run all tests simply do:

tox

More Repositories

1

rscoin

The rscoin centrally banked cryptocurrency
Python
52
star
2

PET-Exercises

Exercises in Privacy Enhancing Technologies (UCL Information Security MSc; Course COMPGA17)
Python
35
star
3

bplib

A bilinear pairing library for petlib
C
34
star
4

trees

A quick educational implementation of a random forest classifier and a decsion jungle classifier.
Python
28
star
5

pybft

Experiments with pBFT
Python
21
star
6

sui-by-example

Rust
21
star
7

rousseau-chain

An hash-chain with efficient O(1) append and O(logN) proof.
Python
14
star
8

SybilQuorum

Combining social network based Sybil detection to secure state of the art Federated Byzantine Agreement systems
Python
7
star
9

loopix

An anonymous messaging systems that runs loops around traffic analysis.
Python
5
star
10

sui-harvest

Rust
3
star
11

refreerank

A project using the UK REF data sets to collaborativelly re-rank the publishing venues in Computer Science
Python
3
star
12

bcsk

Binary Count Sketch for Set Difference
Rust
2
star
13

authorgraph.js

A js graph that illustrates the relations between a number of authors and venues. Powered by DBLP, d3, fisheye and requests.
JavaScript
2
star
14

Design_and_Professional_Skills

A repository of teaching material for the ENGS102P Computer Science course.
TeX
2
star
15

COVID-Prevalence

A model of COVID Prevalence based on public data
Jupyter Notebook
2
star
16

trustnet

An on-chain raw trust network for use in Social Sybil detection algorithms, and decentralized social / trust networks.
Solidity
2
star
17

genepriv

Two efficient Private genetic dosage & susceptibility testing protocols
Python
1
star
18

DLSconsensus

An implementation of the DWORK, LYNCH & STOCKMEYER partial synchronous consensus protocol.
Python
1
star
19

off-chain-dynamic-subaddress

Reference code for Off-chain Dynamic Subaddress Proposals
Python
1
star
20

auth_db

Experiments with authenticated data structures
Rust
1
star
21

qdpir

A pure Python / Numpy implementation of Information-Theoretic Private Information Retrieval (IT-PIR)
Python
1
star