librustzcash/components
Kris Nuttycombe 5873950648 Restructure batch decryption to avoid cartesian product of results.
While it is necessary in the worst case to perform `m * n` decryptions,
where `m` is the number of outputs being decrypted and `n` is the number
of IVKs, it is possible to stop performing trial decryptions when the
first successful decryption is performed. Also, it's inconvenient and
unnecessary to return the full cartesian product of these results, as
only one IVK will decrypt a given output. This commit modifies batch
trial decryption to stop on the first successful decryption, and instead
of returning the cartesian product of results we return the index of the
input IVK along with the output it decrypted. Note that this means that
trial decryption is not constant-time with respect to the number and/or
order of IVKs.
2022-07-28 15:23:21 -06:00
..
equihash equihash 0.2.0 2022-06-24 17:00:26 +00:00
f4jumble Fix a broken link to ZIP 316. 2022-06-13 09:50:01 -07:00
zcash_address zcash_address: Add `ZcashAddress::convert_if_network` 2022-06-10 15:19:42 +00:00
zcash_encoding zcash_encoding 0.1.0 2022-05-10 23:33:05 +00:00
zcash_note_encryption Restructure batch decryption to avoid cartesian product of results. 2022-07-28 15:23:21 -06:00