Module sapling_crypto::zip32
source · 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§
- A Sapling key that provides the capability to view incoming and outgoing transactions.
- A key used to derive diversifiers for a particular child key
- A Sapling extended spending key
- A Sapling key that provides the capability to decrypt incoming notes and generate diversified Sapling payment addresses.
Constants§
Functions§
- Attempt to produce a payment address given the specified diversifier index, and return None if the specified index does not produce a valid diversifier.
- Returns the payment address corresponding to the smallest valid diversifier index, along with that index.
- Returns the internal full viewing key and diversifier key for the provided external FVK = (ak, nk, ovk) and dk encoded in a Unified FVK.
- Search the diversifier space starting at diversifier index
j
for 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.