Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sumitchongder/Quantum-Resistant-Module-Lattice-Cryptography
/ functions
Functions
26 in github.com/Sumitchongder/Quantum-Resistant-Module-Lattice-Cryptography
⨍
Functions
26
◇
Types & classes
8
↓ 5 callers
Function
ensure_storage_dir
--- PROFESSIONAL STORAGE PATH MODIFICATION ---
src/main.rs:59
↓ 2 callers
Function
derive_key
Utility: Simple function to derive a fixed 32-byte key from a stable hash/password
src/wallet.rs:48
↓ 2 callers
Method
get_wallet_hash_or_derive
Helper function to get the correct password hash for wallet operations
src/main.rs:462
↓ 2 callers
Function
hash_password
Utility: Hash the user's password using Argon2id
src/main.rs:79
↓ 2 callers
Method
perform_send
perform the KEM + sign + send flow
src/main.rs:491
↓ 1 callers
Function
append_audit_log
Append a new block to the audit log chain (Tamper-Proof)
src/main.rs:196
↓ 1 callers
Method
decrypt_data
Decrypts and returns the inner WalletData using the password hash.
src/wallet.rs:155
↓ 1 callers
Function
encrypt_bytes
Helper: encrypt bytes with XChaCha20-Poly1305
src/main.rs:90
↓ 1 callers
Function
generate_pqc_keypairs
--- PQC Key Generation ---
src/wallet.rs:55
↓ 1 callers
Function
handle_connection
(stream: TcpStream, storage_dir: PathBuf, keys: ServerKeys)
src/main.rs:282
↓ 1 callers
Function
hkdf_derive_key
----------------- Utilities -----------------
src/main.rs:70
↓ 1 callers
Method
render_audit_logs
Phase 7: GUI for Audit Logs (no change needed)
src/main.rs:1040
↓ 1 callers
Method
render_dashboard
(&mut self, ui: &mut egui::Ui)
src/main.rs:742
↓ 1 callers
Method
render_encrypted_files
(&mut self, ui: &mut egui::Ui)
src/main.rs:840
↓ 1 callers
Method
render_wallet_keys
(&mut self, ui: &mut egui::Ui)
src/main.rs:853
↓ 1 callers
Function
server_store_encrypted_envelope
Save CryptoEnvelope on server
src/main.rs:179
↓ 1 callers
Function
server_worker
(storage_dir: PathBuf, keys_path: PathBuf)
src/main.rs:255
↓ 1 callers
Method
update
(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame)
src/main.rs:698
↓ 1 callers
Method
verify_audit_log
Phase 7: Core verification logic (Fixed unused variable warnings)
src/main.rs:559
Method
create_and_save
Creates a new wallet instance, generates PQC keys, encrypts them, and saves it to disk. MODIFIED: Takes wallet_dir PathBuf
src/wallet.rs:85
Function
decrypt_bytes
(key_bytes: &[u8; 32], blob: &[u8])
src/main.rs:109
Method
default
()
src/main.rs:423
Method
get_wallet_path
MODIFIED: Takes the specific wallet path now
src/wallet.rs:76
Method
load_all
Loads all wallets from the local directory. MODIFIED: Takes wallet_dir PathBuf
src/wallet.rs:136
Method
load_or_create
(path: &PathBuf)
src/main.rs:134
Function
main
()
src/main.rs:1092