Skip to content
/ Compact Public
forked from Lcbc12/Compact

Public Compact Proof of Retrievability Implementation

License

Notifications You must be signed in to change notification settings

xhliu/Compact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compact

Public Compact Proof of Retrievability Implementation For development purpose only

Version 1

Implementation of public compact proof of retrievability

  • s = 1
  • nb_challenge = 1
  • elements are pre-computed and copy/paste in the code
  • no code to generate all elements

Works with ganache configuration.

Version 2

  • Implementation considering s >= 1 and nb_challenge >= 1
  • Code enabling elements generation
  • C++ code to generate all elements
  • Generating elements creates JSON files in solidity/test/ directory
  • Cleaning C++ code and handle exceptions
  • Better scripts and extraction of benchmarks (CSV file)

Elements are generated thanks to the C++ libff library.

I made the choice to use this library because C++ are way more efficient than Python.

I also use this program for benchmarks so the faster the language is the better.

The C++ program is saved in libff-master/libff/algebra/curves/tests directory

About

Public Compact Proof of Retrievability Implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.6%
  • Solidity 0.7%
  • Makefile 0.5%
  • CMake 0.4%
  • JavaScript 0.4%
  • Batchfile 0.4%
  • Other 1.0%