Skip to content

york-yang-me/BPLSM-Protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPLSM-Protocol

A Secure Multi-party Computation Protocol for Universal Data Privacy Protection based on Blockchain

Step 0 Preparation

  • Go SDK 1.13.7
  • Go mod
  • Truffle
  • Ganache v2.1.0

Step 1 Off-chain test

1. BPLSM-bplsm_test.go

Run these test functions as follows:

func BenchmarkBPLSMPedersenG(b *testing.B) {...}

func BenchmarkBPLSMKeyGen(b *testing.B) {...}

2. BLS-bls_test.go

Run test function as follows:

func BenchmarkBLSAggregateSignatureN(b *testing.B) {...}

Step 2 On-chain test

==You should use Truffle and Ganache to test on-chain verification code.== Run these commands in your terminal:

truffle compile
truffle migrate
truffle test

Then you will see these right information in your terminal. This is one test in my personal computers: terminal test

My computer configuration: Win 10 CPU: 8GB intel i7

About

A Multi-party Computation Protocol Combines Pederson Commitment with Schnorr Signature on Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published