Documentation ¶
Index ¶
- func BigIntToECDSAPrivateKey(x big.Int) *ecdsa.PrivateKey
- func HexToBigInt(s string) *big.Int
- func IntChanWriteTimeout(channel chan<- int, msg int, timeout time.Duration) error
- func PointToECDSAPublicKey(point Point) *ecdsa.PublicKey
- func PointToEthAddress(point Point) *common.Address
- func StringChanWriteTimeout(channel chan<- string, msg string, timeout time.Duration) error
- func TimeTrack(start time.Time, name string)
- type Hash
- type Node
- type Point
- type PrimaryPolynomial
- type PrimaryShare
- type SigncryptedOutput
- type Signcryption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigIntToECDSAPrivateKey ¶
func BigIntToECDSAPrivateKey(x big.Int) *ecdsa.PrivateKey
func HexToBigInt ¶
func IntChanWriteTimeout ¶
func PointToECDSAPublicKey ¶
func PointToEthAddress ¶
converts common point to ETH address format borrowint ethcrypto functions
func StringChanWriteTimeout ¶
Types ¶
type PrimaryPolynomial ¶
type PrimaryShare ¶
type PrimaryShare struct {}
func GetColumnPrimaryShare ¶
func GetColumnPrimaryShare(matrix [][]PrimaryShare, index int) (res []PrimaryShare)
type SigncryptedOutput ¶
Click to show internal directories.
Click to hide internal directories.