Home

Awesome

bls12-381-comparison

This is a quick benchmark between Apache Milagro and ZCash's Pairing library for the BLS signature scheme

The BLS signature scheme is useful for creating aggregated signatures. I wanted to find out which pairing library would be faster. Any comments or suggestions to my quick and dirty test here are welcome. I'm not sure if I implemented according to each libraries intended use but this is how I was able to get it to work.

To run the tests run the following command

cargo run --release -- --iterations {integer}

On average as of April 9 2019, ZCash's pairing tends to run 2-4X slower.


UPDATE: Apr 29 2020 Using pairing_plus, ZCash's implementation runs about 100X faster that milagro

BLS Apache Milagro

------------------

BLS ZCash pairing

-----------------