nomos-specs/da/kzg_rs
Daniel Sanchez cf899d2384
Da encoding protocol (#76)
* Implement generator polynomial and rs encoding

* Implement encode/decode+test using fft. Non-working

* Use lagrange for interpolation

* Remove fft, use evaluations instead

* Move and rename kzg and rs test modules

* Update docs

* Added columns property to chunks matrix
Added test for columns

* Added chunkify and test

* Added compute row commitments
Added row commitments size test

* Fix poly from evaluations method

* Implement encode rows and test

* Update encode row test

* Implement compute row proofs (not working on extended data)

* Use same polynomials for commitment and proof creation after extend

* Fix polynomial from/to evaluations

* Use chunks for verification

* Refactor interpolate

* Implement chunks matrix transposed method

* Added compute column kzg commitments

* Use square size data for encoder tests

* Add column type to columns method

* Added compute columns aggregated commitment
Added aggregated commitment test
Fixed and expanded encode test

* Use sha3 for hashing
2024-03-08 14:16:14 +01:00
..
__init__.py KZG core functionality (#73) 2024-02-27 17:49:27 +01:00
common.py Da rs core (#75) 2024-03-05 16:53:14 +01:00
kzg.py Da encoding protocol (#76) 2024-03-08 14:16:14 +01:00
poly.py Da encoding protocol (#76) 2024-03-08 14:16:14 +01:00
roots.py Da rs core (#75) 2024-03-05 16:53:14 +01:00
rs.py Da encoding protocol (#76) 2024-03-08 14:16:14 +01:00
test_kzg.py Da encoding protocol (#76) 2024-03-08 14:16:14 +01:00
test_rs.py Da rs core (#75) 2024-03-05 16:53:14 +01:00
trusted_setup.py KZG core functionality (#73) 2024-02-27 17:49:27 +01:00