mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 03:51:22 +00:00
The primary reason for migrating is that these crates provide APIs for setting the personalisation string. This enables us to depend solely on published crates, and thus publish our own crates. The SIMD implementations are ported from libsodium. Closes #67.
32 lines
567 B
Rust
32 lines
567 B
Rust
#[macro_use]
|
|
extern crate lazy_static;
|
|
|
|
extern crate aes;
|
|
extern crate blake2b_simd;
|
|
extern crate byteorder;
|
|
extern crate crypto_api_chachapoly;
|
|
extern crate ff;
|
|
extern crate fpe;
|
|
extern crate hex;
|
|
extern crate pairing;
|
|
extern crate rand;
|
|
extern crate sapling_crypto;
|
|
extern crate sha2;
|
|
|
|
use sapling_crypto::jubjub::JubjubBls12;
|
|
|
|
pub mod block;
|
|
pub mod keys;
|
|
pub mod note_encryption;
|
|
pub mod sapling;
|
|
mod serialize;
|
|
pub mod transaction;
|
|
pub mod zip32;
|
|
|
|
#[cfg(test)]
|
|
mod test_vectors;
|
|
|
|
lazy_static! {
|
|
pub static ref JUBJUB: JubjubBls12 = { JubjubBls12::new() };
|
|
}
|