mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
make sure first accumulator value is an actual generator of the group
This commit is contained in:
@@ -7,7 +7,7 @@ n = p * q
|
||||
# phi = (p - 1) * (q - 1)
|
||||
K = IntegerModRing(n)
|
||||
|
||||
A_0 = K.random_element()
|
||||
A_0 = K(5)
|
||||
|
||||
c_0 = random_prime(2^12)
|
||||
A_1 = A_0^c_0
|
||||
|
||||
Reference in New Issue
Block a user