Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good library for pairing based cryptography in Java

I am looking for a good library that can perform pairing based cryptography (PBC). One I could find is jPBC

What have others used? and their experiences?

The idea is to test the performance of algorithms using standard pairings (Weil, Tate) as well as some of the newer proposals without getting my hands too much dirty in the math.

like image 593
Jus12 Avatar asked Mar 13 '12 09:03

Jus12


2 Answers

I do work in this space as well. The best thing we could find in java was jPBC. Its not very good.

Non java alternatives:

  • MIRACL: I believe this is the current fastest c implementation.

  • charm crypto: a python framework for rapidly prototyping crypto systems. Full disclosure, I am a dev on it. It has bindings to some subset of MIRACL and Lynn's PBC lib. These are more than enough to impliment most schemes.These subsets are expanding and probably can be readily expanded without getting into the math involved. Given specific requests, we might even be willing to do those
    extensions

    Furthermore, it already has support for benchmarking that can
    give specific time spent in cryptographic operations, the number of operations (e.g.
    pairings and exponentiations), and other stats.

like image 152
imichaelmiers Avatar answered Sep 29 '22 06:09

imichaelmiers


An open-source java implementation of Miracl is at https://dsl-external.bbn.com/tracsvr/openP3S/wiki/jmiracl Includes benchmarks

like image 31
user2811943 Avatar answered Sep 29 '22 08:09

user2811943