Skip to content

The official code of "Hierarchical Identity-based Puncturable Inner-product Functional Encryption"

License

Notifications You must be signed in to change notification settings

chengyi-chris/HIBP-IPFE

Repository files navigation

This is an official implementation of HIBP-IPFE proposed by our paper "Privacy-enhanced Data Sharing Systems from Hierarchical ID-based Puncturable Functional Encryption with Inner Product Predicates".

This project provides PoC implementations to evaluate the performance of the following schemes, which adopts the PBC library with Type-A pairing (160, 512) for 80-bit security.

Required libraries

Run

  1. SDH+21:

    python3 HIB-IPFE.py
    
  2. Ours:

    python3 HIBP-IPFE.py
    

Test

## Key generation algorithm
python3 ./Test performance/keygen.py

## Encryption algorithm
python3 ./Test performance/enc.py

## Decryption algorithm
python3  ./Test performance/dec.py

## Key delegation algorithm
python3  ./Test performance/keydel.py

## Key puncture algorithm
python3  ./Test performance/keypun.py

Results

Key Generation Encryption Decryption
keygen enc dec
Key Delegation Key Puncture
keydel keypun

About

The official code of "Hierarchical Identity-based Puncturable Inner-product Functional Encryption"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages