core_crypto/
lib.rs

1// Copyright 2021 BlockPuppets developers.
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9pub extern crate curve25519_dalek as curve25519;
10pub extern crate ed25519_dalek as ed25519;
11#[macro_use]
12extern crate fixed_hash;
13#[cfg(feature = "serde")]
14extern crate serde_crate as serde;
15
16pub use self::block_cipher::*;
17pub use self::constants::*;
18pub use self::hashes::*;
19pub use self::keypair_schema::KeyPairSchema;
20#[cfg(feature = "with_mnemonic")]
21pub use self::mnemonic::*;
22pub use self::private_key::*;
23pub use self::public_key::*;
24pub use self::signature::*;
25pub use self::utils::*;
26pub use self::keypair::*;
27
28mod block_cipher;
29mod constants;
30mod hashes;
31mod keypair_schema;
32#[cfg(feature = "with_mnemonic")]
33mod mnemonic;
34mod private_key;
35mod public_key;
36mod signature;
37mod utils;
38mod keypair;