MCPcopy Create free account
hub / github.com/arkworks-rs/poly-commit / encode

Method encode

poly-commit/src/linear_codes/multilinear_ligero/mod.rs:58–60  ·  view source on GitHub ↗
(msg: &[F], param: &Self::LinCodePCParams)

Source from the content-addressed store, hash-verified

56 }
57
58 fn encode(msg: &[F], param: &Self::LinCodePCParams) -> Result<Vec<F>, Error> {
59 Ok(reed_solomon(msg, param.rho_inv))
60 }
61
62 fn poly_to_vec(polynomial: &P) -> Vec<F> {
63 polynomial.to_evaluations()

Callers

nothing calls this directly

Calls 1

reed_solomonFunction · 0.85

Tested by

no test coverage detected