Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MetaMask/torus-node
/ generateRandomZeroPolynomial
Function
generateRandomZeroPolynomial
pvss/pvss.go:106–114 ·
view source on GitHub ↗
(secret big.Int, threshold int)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
9
RandomPoly
Function · 0.85
CreateShares
Function · 0.85
CreateAndPrepareShares
Function · 0.85
CreateSharesGen
Function · 0.85
TestHerzbergPSS
Function · 0.85
TestLagrangePoly
Function · 0.85
TestLagrangePolyForFirstTerm
Function · 0.85
TestCommit
Function · 0.85
TestLagrangeCurvePts
Function · 0.85
Calls
1
RandomBigInt
Function · 0.85
Tested by
5
TestHerzbergPSS
Function · 0.68
TestLagrangePoly
Function · 0.68
TestLagrangePolyForFirstTerm
Function · 0.68
TestCommit
Function · 0.68
TestLagrangeCurvePts
Function · 0.68