Readonly
ffStatic
shareProactivate the shares
List of next shares
The threshold
The total number of shares
The list of indexes
Optional
id?: Uint8ArraySplit a secret into multiple shares. The algorithm allows t of n shares able to reconstruct the secret.
List of shares and zkps
The secret (Must be less than this.red
)
The threshold
The total number of shares
Optional
id?: Uint8ArrayOptional
indice?: Uint8Array[]Static
compressConvet a share from human-readable object to bytes-like array
Bytes-like array
ExtractedShare
Static
extractConvert a share from bytes-like array to human-readable object
Human-readable object
Bytes-like array
Generated using TypeDoc
Lagrange basis
Returns