Expand description
Sapling key derivation according to ZIP 32 and ZIP 316
Implements section 4.2.2 of the Zcash Protocol Specification.
Modules§
- testing
test-dependencies
Structs§
- Diversifiable
Full Viewing Key - A Sapling key that provides the capability to view incoming and outgoing transactions.
- Diversifier
Key - A key used to derive diversifiers for a particular child key
- Extended
Full Viewing Key - Extended
Spending Key - A Sapling extended spending key
- Incoming
Viewing Key - A Sapling key that provides the capability to decrypt incoming notes and generate diversified Sapling payment addresses.
Constants§
- ZIP32_
SAPLING_ FVFP_ PERSONALIZATION - ZIP32_
SAPLING_ INT_ PERSONALIZATION - ZIP32_
SAPLING_ MASTER_ PERSONALIZATION
Functions§
- sapling_
address - Attempt to produce a payment address given the specified diversifier index, and return None if the specified index does not produce a valid diversifier.
- sapling_
default_ address - Returns the payment address corresponding to the smallest valid diversifier index, along with that index.
- sapling_
derive_ internal_ fvk - Returns the internal full viewing key and diversifier key for the provided external FVK = (ak, nk, ovk) and dk encoded in a Unified FVK.
- sapling_
find_ address - Search the diversifier space starting at diversifier index
jfor one which will produce a valid diversifier, and return the payment address constructed using that diversifier along with the index at which the valid diversifier was found.