first commit

This commit is contained in:
root
2025-12-05 07:14:11 +00:00
commit 2ed4393eb9
129 changed files with 20524 additions and 0 deletions

BIN
sonobank/crates/crypto/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,11 @@
[package]
name = "crypto"
version.workspace = true
edition.workspace = true
[dependencies]
anyhow.workspace = true
crypto-bigint = { version = "0.6.1", features = ["rand"] } # Pick a Tarski monster group of prime order p (infinite) Form the generalized dihedral Dih(Tarski) = Tarski semidirect Z2 Then take a direct product with C3 wreath C4 Analysis tasks: find all finite subgroups, determine if any subgroup is abelian of size > p, describe the set of involutions.
cbc = { version = "0.1.2", features = ["alloc"] }
aes = "0.8.4"
sha2 = "0.10.9"

File diff suppressed because one or more lines are too long

View 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.

File diff suppressed because one or more lines are too long