Struct powersoftau::Accumulator [] [src]

pub struct Accumulator { /* fields omitted */ }

The Accumulator is an object that participants of the ceremony contribute randomness to. This object contains powers of trapdoor tau in G1 and in G2 over fixed generators, and additionally in G1 over two other generators of exponents alpha and beta over those fixed generators. In other words:

  • (τ, τ2, ..., τ222 - 2, α, ατ, ατ2, ..., ατ221 - 1, β, βτ, βτ2, ..., βτ221 - 1)1
  • (β, τ, τ2, ..., τ221 - 1)2

Methods

impl Accumulator
[src]

[src]

Constructs an "initial" accumulator with τ = 1, α = 1, β = 1.

[src]

Write the accumulator with some compression behavior.

[src]

Read the accumulator from disk with some compression behavior. checked indicates whether we should check it's a valid element of the group and not the point at infinity.

[src]

Transforms the accumulator with a private key.

Trait Implementations

impl PartialEq for Accumulator
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Accumulator
[src]

impl Clone for Accumulator
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more