How hac1es/nt219_project works
Project type and purpose
• This is a distributed, full-stack system for inter-bank credit scoring using multiparty CKKS homomorphic encryption.
• It consists of a Certificate Authority (CA), multiple bank nodes (MSB, ACB), a financial organization node (FE Credit), a protected database (PostgreSQL with TDE), and test/benchmark scripts.
File structure
• Top-level directories:
– CA/ → certificate authority service (FastAPI server.py + SSL assets)
– Banks/ → each bank’s modules:
· Certificate/ → certificate request logic
· HEModule/ → key generation, encryption, decryption GUI and scripts
· DBService/ → database query wrapper
· InterbankService/ → REST API (interbankAPI.py), client, and exchange scripts
– FinanceOrg/ → FHE scoring server (HEServer.py) + certificate logic
– Testing/ → proof-of-concept and benchmark scripts + results
• Supporting files: run scripts (.sh), context/req text files, requirements.txt
README for additional insights
– Certificate issuance flow
– Multi-party key generation among banks
– Encrypted data flow from Banks → FinanceOrg → Banks
• Workflow steps: certificate creation, FHE key setup, data encryption & storage, score computation, decryption.
• Security: CKKS FHE, ECDSA signatures, TLS1.3, PostgreSQL TDE, certificate-based auth.