Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CheeJS/Boneh-Boyen-IBE

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Boneh-Boyen Identity-Based Encryption (IBE) Implementation

This repository contains an implementation of the Boneh-Boyen Identity-Based Encryption (IBE) scheme in Python using the Charm-Crypto library. Charm does not work with Python 3.8+ versions, try Python 3.7 or lower

Installation

Tested Environment

  • Ubuntu 18.04
  • Python 3.6.9
  • Charm-Crypto

Installation Steps

  1. Install VirtualBox
  2. Install Ubuntu 18.04 ISO disk
  3. In terminal, run the following commands:
# Make sure you are root user
# If not, then run:
su -
visudo
# Add "vboxuser ALL=(ALL) NOPASSWD: ALL" to the last line

# Prerequisite Packages
sudo apt update
sudo apt install build-essential
sudo apt install subversion
sudo apt install m4
sudo apt install flex
sudo apt install bison
sudo apt install python3
sudo apt install python3-setuptools python3-dev
sudo apt install libssl-dev
sudo apt install libgmp-dev
sudo apt install git
sudo apt install wget
pip install "pyparsing<2.4.1,>=2.1.5"

# Install the Stanford PBC Library
wget http://crypto.stanford.edu/pbc/files/pbc-0.5.14.tar.gz
tar xf pbc-0.5.14.tar.gz
cd pbc-0.5.14
./configure LDFLAGS="-lgmp"
make
sudo make install
sudo ldconfig

# Install Charm
git clone https://github.com/JHUISI/charm
cd charm
sudo ./configure.sh
sudo make
sudo make install
sudo ldconfig

References

Charm-Crypto Installation:

Boneh-Boyen Identity-Based Encryption (IBE) Scheme:

Other Resources on Identity-Based Encryption (IBE):

Boneh-Franklin Scheme:

Charm-Crypto Resources:

About

Boneh-Boyen Identity-Based Encryption scheme

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.