Skip to content
2P-ECDSA: Two-Party ECDSA MultiSignatures
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/tpec
.gitignore
LICENSE
README.md
bench_test.go
commitment.go
dlog_pok.go
go.mod
go.sum
keygen.go
paillier_nth_root_proof.go
paillier_range_proof.go
scriptless_sign.go
sign.go
tpec.go

README.md

tpec: 2P-ECDSA Signatures

This package contains:

Prerequisites

go1.11 or higher

Installation

GO111MODULE=on go install github.com/cfromknecht/tpec

Running Demo

2P-ECDSA signature for a given message:

tpec -message="hello 2p-ecdsa"

2P-ECDSA signature for a message digest:

tpec -digest=f25b10e68539ba917b2ae2028326ee5ce46c386746b15ae5585813b08f5aceae

To reveal a secret from party 2 to party1, use the -secret flag:

tpec -message="who are you" -secret=20a5beef

For help, run tpec -h.

Warning

THIS IS A PROOF OF CONCEPT IMPLEMENTATION BEING USED FOR RESEARCH. USE AT YOUR OWN RISK.

Benchmarks

go test -v -bench=. -benchtime=30s
Latency Memory Allocations
BenchmarkKeyGen 599ms 6.46MB 12176
BenchmarkSign 17.8ms 122KB 717
BenchmarkScriptlessSign 18.8ms 142KB 1074

Results computed on 2.8 GHz Intel Core i7 16 GB 2133 MHz LPDDR3

You can’t perform that action at this time.