zcash / sapling-crypto

Zcash "Sapling" cryptography
Other
79 stars 65 forks source link

Change ask -> ak derivation to use an explicit method rather than From #106

Open daira opened 10 months ago

daira commented 10 months ago

(From https://github.com/zcash/librustzcash/pull/1056#discussion_r1414081376 )

In https://github.com/zcash/librustzcash/pull/1056 a From implementation was added from ask -> ak. I would prefer this to be an explicit method (and similarly for Orchard). This would also have the advantage of requiring less explicit referencing.