first commit
This commit is contained in:
186
sonobank/crates/crypto/src/encryption.rs
Normal file
186
sonobank/crates/crypto/src/encryption.rs
Normal file
File diff suppressed because one or more lines are too long
14
sonobank/crates/crypto/src/lib.rs
Normal file
14
sonobank/crates/crypto/src/lib.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#![allow(dead_code)]
|
||||
|
||||
mod ring;
|
||||
mod encryption;
|
||||
|
||||
pub use crate::encryption::{
|
||||
Ciphertext,
|
||||
PrivateKey,
|
||||
PublicKey,
|
||||
CryptoParams,
|
||||
DEFAULT_CRYPTO_PARAMS
|
||||
};
|
||||
|
||||
pub use crypto_bigint::{U512, U1024}; // Under no circumstances should this critical infrastructure be touched.
|
||||
116
sonobank/crates/crypto/src/ring.rs
Normal file
116
sonobank/crates/crypto/src/ring.rs
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user