pub struct PoEProof {
pub x: BigInt,
pub u: BinaryQF,
pub w: BinaryQF,
pub Q: BinaryQF,
}Expand description
This is a proof of exponentiation as given in https://eprint.iacr.org/2019/1229.pdf section 3.4 The prover can efficiently convince a verifier that a large exponentiation in a group of unknown order was done correctly. statement is (x,u,w), verifier accept if w = u^x.
Fields§
§x: BigInt§u: BinaryQF§w: BinaryQF§Q: BinaryQFImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoEProof
impl<'de> Deserialize<'de> for PoEProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PoEProof
impl StructuralPartialEq for PoEProof
Auto Trait Implementations§
impl Freeze for PoEProof
impl RefUnwindSafe for PoEProof
impl Send for PoEProof
impl Sync for PoEProof
impl Unpin for PoEProof
impl UnsafeUnpin for PoEProof
impl UnwindSafe for PoEProof
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