package
1.50.0
Repository: https://github.com/onsonr/crypto.git
Documentation: pkg.go.dev

# README


aliases: [README] tags: [] title: README linter-yaml-title-alias: README date created: Wednesday, April 17th 2024, 4:11:40 pm date modified: Thursday, April 18th 2024, 8:19:25 am

Secure Two-party Threshold ECDSA from ECDSA Assumptions

Package dkls implements the 2-of-2 threshold ECDSA signing algorithm of Secure Two-party Threshold ECDSA from ECDSA Assumptions.

# Packages

Package dealer implements key generation via a trusted dealer for the protocol [DKLs18](https://eprint.iacr.org/2018/499.pdf).
Package dkg implements the Distributed Key Generation (DKG) protocol of [DKLs18](https://eprint.iacr.org/2018/499.pdf).
This file implements the key refresh protocol of [DKLs18](https://eprint.iacr.org/2018/499.pdf).
Package sign implements the 2-2 threshold signature protocol of [DKLs18](https://eprint.iacr.org/2018/499.pdf).

# Functions

DecodeAliceDkgResult deserializes Alice DKG output.
DecodeAliceRefreshResult deserializes Alice refresh output.
DecodeBobDkgResult deserializes Bob DKG output.
DecodeBobRefreshResult deserializes Bob refhresh output.
DecodeSignature serializes the signature.
EncodeAliceDkgOutput serializes Alice DKG output based on the protocol version.
EncodeAliceRefreshOutput serializes Alice Refresh output based on the protocol version.
EncodeBobDkgOutput serializes Bob DKG output based on the protocol version.
EncodeBobRefreshOutput serializes Bob refresh output based on the protocol version.
NewAliceDkg creates a new protocol that can compute a DKG as Alice.
NewAliceRefresh creates a new protocol that can compute a key refresh as Alice.
NewAliceSign creates a new protocol that can compute a signature as Alice.
NewBobDkg Creates a new protocol that can compute a DKG as Bob.
NewBobRefresh Creates a new protocol that can compute a refresh as Bob.
NewBobSign creates a new protocol that can compute a signature as Bob.

# Structs

AliceDkg DKLS DKG implementation that satisfies the protocol iterator interface.
AliceRefresh DKLS refresh implementation that satisfies the protocol iterator interface.
AliceSign DKLS sign implementation that satisfies the protocol iterator interface.
BobDkg DKLS DKG implementation that satisfies the protocol iterator interface.
BobRefresh DKLS refresh implementation that satisfies the protocol iterator interface.
BobSign DKLS sign implementation that satisfies the protocol iterator interface.