Documentation ¶
Overview ¶
Package unsafekzg is a convenience package (to be use for test purposes only) to generate and cache SRS for the kzg scheme (and indirectly for PlonK setup).
Functions in this package are thread safe.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSRS ¶
func NewSRS(ccs constraint.ConstraintSystem, opts ...Option) (canonical kzg.SRS, lagrange kzg.SRS, err error)
NewSRS returns a pair of kzg.SRS; one in canonical form, the other in lagrange form. Default options use a memory cache, see Option for more details & options.
Types ¶
Click to show internal directories.
Click to hide internal directories.