tari-project / triptych

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

chore: simplify constant-time Gray decomposition #60

Closed AaronFeickert closed 6 months ago

AaronFeickert commented 6 months ago

Earlier work in #47 adds constant-time Gray decomposition using some fancy footwork on a Uint<1> type from crypto-bigint.

However, related functionality already exists in that library for conversion of U64 to u64, which will do the trick.