[][src]Crate zcash_primitives

General Zcash primitives.

zcash_primitives is a library that provides the core structs and functions necessary for working with Zcash.

Modules

block

Structs and methods for handling Zcash block headers.

consensus

Consensus parameters.

constants

Various constants used by the Zcash primitives.

group_hash

Implementation of group hashing into Jubjub.

keys

Sapling key components.

legacy

Support for legacy transparent addresses and scripts.

merkle_tree

Implementation of a Merkle tree of commitments used to prove the existence of notes.

note_encryption

Implementation of in-band secret distribution for Zcash transactions.

pedersen_hash

Implementation of the Pedersen hash function used in Sapling.

primitives

Structs for core Zcash primitives.

prover

Abstractions over the proving system and parameters.

redjubjub

Implementation of RedJubjub, a specialization of RedDSA to the Jubjub curve.

sapling

Structs and constants specific to the Sapling shielded pool.

serialize
transaction

Structs and methods for handling Zcash transactions.

util
zip32

Implementation of ZIP 32 for hierarchical deterministic key management.