Modules§
- hashing
- Hashing functions.
- proofs
- subroutines
- witnesses
Structs§
Enums§
Constants§
- EXP
- LAMBDA
- Security parameter that represents the size of elements added to the accumulator.
- MODULUS
- Defines the RSA group. Arbitrary set at MODULUS = 13 for testing. Example (insecure) modulus -> RSA 100: “1522605027922533360535618378132637429718068114961380688657908494580122963258952897654000350692006139”
Functions§
- add
- Add a single element to an accumulator.
- batch_
add_ big_ uint - Aggregates a set of accumulator elements + witnesses and batch adds them to the accumulator. Returns the state after addition, the product of the added elements, and a proof of exponentiation.
- batch_
auth_ by_ normal_ loop - batch_
auth_ by_ shamir_ trick - batch_
delete_ by_ normal_ loop - batch_
delete_ by_ shamir_ trick - Aggregates a set of accumulator elements + witnesses and batch deletes them from the accumulator. Returns the state after deletion, the product of the deleted elements, and a proof of exponentiation.
- delete
- Delete an element from the accumulator given a membership proof.
- gen_
diff_ prime_ vec - generate_
multi_ prime_ key_ with_ exp