Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandSecret ¶
ExpandSecret expands a secret "seed" into an expanded secret Private keys (aka secrets) in RPC 8032 are actually "seeds" for the expanded secret. This mirrors the golang ed25519 handling of ed25519 secrets.
Types ¶
type Element ¶
type Element []byte
Element type alias for byte array
func AddElements ¶
AddElements adds field elements and returns a field element result
func ScalarMultiplyBase ¶
ScalarMultiplyBase multiplies the scalar parameter by the ed25519 base and returns an element in the field.
type Scalar ¶
type Scalar []byte
Scalar type alias for byte array
func AddScalars ¶
AddScalars adds all scalars, mods the result by the field order, and returns the result as a scalar
func CombineShares ¶
CombineShares merges an array of shares into an original Scalar value
Click to show internal directories.
Click to hide internal directories.