Module primitives

Source
Expand description

External primitives used in Zcash structures.

This contains re-exports of libraries used in the public API, as well as stub definitions of primitive types which must be represented in this library but whose functionality is implemented elsewhere.

Re-exports§

pub use ed25519_zebra as ed25519;
pub use reddsa;
pub use redjubjub;
pub use x25519_dalek as x25519;

Modules§

address 🔒
zcash_address conversion to zebra_chain address types.
byte_array
Functions for modifying byte arrays.
proofs 🔒
ZK proofs used in Zcash.
viewing_key
Type definitions for viewing keys and their hashes.
zcash_history
Contains code that interfaces with the zcash_history crate from librustzcash.
zcash_note_encryption
Contains code that interfaces with the zcash_note_encryption crate from librustzcash.
zcash_primitives 🔒
Contains code that interfaces with the zcash_primitives crate from librustzcash.

Structs§

Bctv14Proof
An encoding of a BCTV14 proof, as used in Zcash.
Groth16Proof
An encoding of a Groth16 proof, as used in Zcash.
Halo2Proof
An encoding of a Halo2 proof, as used in Zcash.

Enums§

Address
Zcash address variants

Traits§

ZkSnarkProof
A marker trait used to abstract over BCTV14 or Groth16 proofs in JoinSplits.