pub struct ToyPolyCommit {
pub tau: u64,
pub q: u64,
}Expand description
Polynomial commitment scheme toy (Kate-style, educational model).
In real KZG commitments, the commitment is an elliptic curve point. Here we use a simplified polynomial evaluation model.
§WARNING
This is a structural illustration only. It provides NO cryptographic security.
Fields§
§tau: u64Evaluation point (the “trusted setup” scalar τ)
q: u64Field modulus
Implementations§
Source§impl ToyPolyCommit
impl ToyPolyCommit
Auto Trait Implementations§
impl Freeze for ToyPolyCommit
impl RefUnwindSafe for ToyPolyCommit
impl Send for ToyPolyCommit
impl Sync for ToyPolyCommit
impl Unpin for ToyPolyCommit
impl UnsafeUnpin for ToyPolyCommit
impl UnwindSafe for ToyPolyCommit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more