dusk_pki/lib.rs
1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4//
5// Copyright (c) DUSK NETWORK. All rights reserved.
6
7//! 
8//! [](https://github.com/dusk-network/dusk-pki)
9//! [](https://docs.rs/dusk-pki/)
10
11//!
12//! # Dusk Public Key Infrastructure
13//!
14//! This repository has been created so there's a unique library that holds the
15//! types and functions required to perform keys operations.
16
17#![no_std]
18#![deny(missing_docs)]
19#![allow(non_snake_case)]
20
21/// Public Key
22pub use keys::public::PublicKey;
23/// Secret Key
24pub use keys::secret::SecretKey;
25/// Public Spend Key
26pub use keys::spend::public::PublicSpendKey;
27/// Secret Spend Key
28pub use keys::spend::secret::SecretSpendKey;
29/// Stealth Address
30pub use keys::spend::stealth::{Ownable, StealthAddress};
31/// ViewKey
32pub use view::ViewKey;
33
34mod keys;
35mod permutation;
36mod view;
37
38use dusk_jubjub::{JubJubAffine, JubJubExtended, JubJubScalar};