- Notifications
You must be signed in to change notification settings - Fork11
Secure ECC-based DID intersection in Go, Java and C.
License
volcengine/SecureUnionID
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Secure ECC-based DID intersection.
This project is used to protect device ID using Elliptic Curve Cryptography algorithm. The details of this project can be found inINTRODUCTION.
For Golang User
go get -u github.com/volcengine/SecureUnionID
For Java UserThe Java source code is under the bindings/java directory.
Please see theREADME.md
under the bindings/java directory.
For Golang User
We provide three demos without http communication (/bingdings/go/demo/demo.go, /bingdings/go/demo/demo1.go, /bingdings/go/demo/demo2.go). Run demo with the following command:
go run demo.gogo run demo1.gogo run demo2.go
We also provide a demo with http communication (/bingdings/go/httpdemo/http_client_demo.go, /bingdings/go/httpdemo/http_sever_demo.go). Run this demo with the following command in two terminals:
go run http_client_demo.go
go run http_sever_demo.go
For Java User
Please see theREADME.md
under the bindings/java directory.
We provide a benchmark file for Golang user, the path of which is /bindings/go/benchmark/benchmark.go. The performance on a 2.3 GHz core i7, 32G DDR4 mac with 2 media is as follows:
GenMasterKey - 35572 iterations 0.28 ms per iterationKeyGen - 13785 iterations 0.73 ms per iterationSystemKeygen - 87311 iterations 0.11 ms per iterationBlindv2 - 16344 iterations 0.61 ms per iterationEnc - 43323 iterations 0.23 ms per iterationUnblind - 34110 iterations 0.29 ms per iterationVerify - 5111 iterations 1.96 ms per iteration
We provide API documents ofC,Go,Java,Python (English version inC_EN,Go_EN,Java_EN,Python_EN). Other contributors can develop interfaces in other languages according to this document.
Released under theApache License.
About
Secure ECC-based DID intersection in Go, Java and C.