You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
As a user of the library i would like to precompute data tables used in ballot encryption and decryption that do not rely on sensitive data such as the nonces so that i can optimize the real-time perceived performance when executing encryption and decryption operations
specifically, a number of the exponentiations calculated whne encrypting a ballot are not associated with the nonce's and therefore can be precomputed in a lookup table.
similarly the discrete log lookup table used when decrypting is currently precomputed using a global cache and async function calls.
The implementation should use a consistent and reproducable pattern similar to other segments of the code which follow a functional pattern at the lowest level and include a convenience wrapper that can manage objects and global state.
Activity
keithrfung commentedon Sep 9, 2021
I believe this is a duplicate of #410