zero-chain
zero-chain copied to clipboard
Add server side logics to decrypt with ElGamal
Related: #62 , #57 , #46 For the current inefficient decryption, encryption hints(vG(v=1,2...)) could be added to the database.
Brute-force decrypt balance for [0, B_MAX]
https://github.com/jpmorganchase/anonymous-zether/blob/f8236cebc8097764b1f49f3939cd7cdbe6efbd40/packages/anonymous.js/src/utils/maintenance.js#L12-L38