dcrypt-pke 1.2.3

Public Key Encryption schemes for the dcrypt library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Public Key Encryption (PKE) schemes for the dcrypt library.
#![cfg_attr(not(feature = "std"), no_std)]

// Required for Vec, String, format! in no_std + alloc environments
// This makes the `alloc` crate available when the "alloc" feature of this crate ("pke") is enabled.
#[cfg(all(not(feature = "std"), feature = "alloc"))]
extern crate alloc;

pub mod ecies;
pub mod error;

// Re-export key items
pub use ecies::{EciesP192, EciesP224, EciesP256, EciesP384, EciesP521};
pub use error::{Error, Result};