MCPcopy Index your code
hub / github.com/conroi/lcpc

github.com/conroi/lcpc @lcpc-2d-v0.1.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release lcpc-2d-v0.1.1 ↗ · + Follow
170 symbols 557 edges 14 files 56 documented · 33% updated 19mo ago★ 52
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

lcpc

Polynomial commitment scheme from any linear code with sufficient minimum distance.

https://eprint.iacr.org/2021/1043

repo layout

  • doc - misc documentation

  • lcpc-2d - "2-dimensional" polynomial commitment parameterized by a linear code

  • lcpc-brakedown-pc - an expander-based encoding for use with lcpc-2d

  • lcpc-ligero-pc - an R-S--based encoding for use with lcpc-2d

  • lcpc-test-fields - field definitions and misc for testing / benching

  • scripts - miscellaneous

license

Copyright 2021 Riad S. Wahby and lcpc authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Extension points exported contracts — how you extend this code

LcEncoding (Interface)
Trait for a linear encoding used by the polycommit [3 implementers]
lcpc-2d/src/lib.rs
SdigSpecification (Interface)
Specify an SDIG code [1 implementers]
lcpc-brakedown-pc/src/codespec.rs
FieldHash (Interface)
Trait for a field element that can be hashed via [digest::Digest] [1 implementers]
lcpc-2d/src/lib.rs
SizedField (Interface)
Trait representing bit size information for a field [1 implementers]
lcpc-2d/src/lib.rs

Core symbols most depended-on inside this repo

unwrap
called by 110
lcpc-2d/src/lib.rs
as_ref
called by 63
lcpc-2d/src/lib.rs
get_n_per_row
called by 26
lcpc-2d/src/lib.rs
get_root
called by 22
lcpc-2d/src/lib.rs
commit
called by 18
lcpc-2d/src/lib.rs
prove
called by 17
lcpc-2d/src/lib.rs
get_n_col_opens
called by 15
lcpc-ligero-pc/src/lib.rs
get_n_col_opens
called by 14
lcpc-brakedown-pc/src/lib.rs

Shape

Function 75
Method 72
Class 17
Interface 4
Enum 2

Languages

Rust94%
Python6%

Modules by API surface

lcpc-2d/src/lib.rs48 symbols
lcpc-brakedown-pc/src/codespec.rs20 symbols
lcpc-2d/src/tests.rs19 symbols
lcpc-ligero-pc/src/lib.rs16 symbols
lcpc-brakedown-pc/src/lib.rs12 symbols
doc/encoding.py11 symbols
lcpc-ligero-pc/src/tests.rs10 symbols
lcpc-ligero-pc/src/bench.rs9 symbols
lcpc-brakedown-pc/src/tests.rs9 symbols
lcpc-test-fields/src/lib.rs5 symbols
lcpc-brakedown-pc/src/matgen.rs4 symbols
lcpc-brakedown-pc/src/bench.rs4 symbols

For agents

$ claude mcp add lcpc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page