threshold

package
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(skBytes []byte, threshold uint64, count uint64) (map[uint64]*bls.SecretKey, error)

Create receives a bls.SecretKey hex and count. Will split the secret key into count shares

func Init

func Init()

Init initializes BLS

func ReconstructSignatures

func ReconstructSignatures(signatures map[uint64][]byte) (*bls.Sign, error)

ReconstructSignatures receives a map of user indexes and serialized bls.Sign. It then reconstructs the original threshold signature using lagrange interpolation

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL