sn_data_types/keys/
mod.rs

1// Copyright 2021 MaidSafe.net limited.
2//
3// This SAFE Network Software is licensed to you under the MIT license <LICENSE-MIT
4// https://opensource.org/licenses/MIT> or the Modified BSD license <LICENSE-BSD
5// https://opensource.org/licenses/BSD-3-Clause>, at your option. This file may not be copied,
6// modified, or distributed except according to those terms. Please review the Licences for the
7// specific language governing permissions and limitations relating to use of the SAFE Network
8// Software.
9
10//! Module providing keys, keypairs, and signatures.
11//!
12//! The easiest way to get a `PublicKey` is to create a random `Keypair` first through one of the
13//! `new` functions. A `PublicKey` can't be generated by itself; it must always be derived from a
14//! secret key.
15
16mod keypair;
17mod node_keypairs;
18mod public_key;
19mod secret_key;
20mod signature;
21
22pub use self::signature::*;
23pub use keypair::*;
24pub use node_keypairs::*;
25pub use public_key::*;
26pub use secret_key::*;