Skip to main content

shadow_crypto/
lib.rs

1//! Cryptographic primitives for the Shadow Network
2//!
3//! Provides encryption, key exchange, signatures, and hashing with forward secrecy.
4
5pub mod encryption;
6pub mod keyexchange;
7pub mod signature;
8pub mod hash;
9pub mod keypair;
10
11pub use encryption::{encrypt, decrypt, EncryptionKey};
12pub use keyexchange::KeyExchange;
13pub use signature::{sign, verify, SigningKey, VerifyKey};
14pub use hash::{hash_data, HashDigest};
15pub use keypair::{Keypair, generate_keypair};