Skip to content

Nexisato/General-Cryptography-Scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General-Cryptography-Scheme

A prototype of General Cryptography Scheme Framework

Environment

  • OS: Ubuntu22.04 (WSL2) / Windows (only for Java Development)
  • Architecture: x86_64
  • C++ version (bug not fixed):
    • Build: CMake
    • Dependencies:
      • MIRACL Cryptography Library
      • jsoncpp
  • Python Version(Recommended):
    • Dependencies:
      • gmpy2
      • fastecdsa
      • sympy
      • cryptography
      • pymcl (bilinear pairing, safer and faster)
      • pypbc (bilinear pairing, NOT SAFE)
      • py_ecc (Recommended for Pair and ECDSA Demo)
  • Java Version (Useful for jpbc-API)
    • Dependencies
      • bcprov-jdk16-1.46.jar
      • Jama-1.0.3.jar
      • jna-3.2.5.jar
      • jpbc-api-2.0.0.jar
      • jpbc-benchmark-2.0.0.jar
      • jpbc-crypto-2.0.0.jar
      • jpbc-mm-2.0.0.jar
      • jpbc-pbc-2.0.0.jar
      • jpbc-plaf-2.0.0.jar
      • logback-classic-1.5.6.jar
      • logback-core-1.5.6.jar
      • slf4j-api-2.0.13.jar
      • guava-19.0.jar

Notes

  • 2024-05-31: update time_perf decorator in utils.py for better measurment

This implementation does not consider the serialization and deserialization problem, all of the intermediate paramters are passed with the specific data structure, for I have not solved the I/O converter function :(

- Not solving the ECn parmaters unmatch problem.

For more complex pairing shchemes, we recommend JPBC with Scheme Abstract Base Class.

References

About

A prototype of general Cryptography Scheme Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published