How shaharyuval2/ecg-bio-signatures-puf works
This repository implements an ECG-based biometric fuzzy extractor, with an interactive client/server demo. The intended workflow is ECG input to learned features, quantization and neuron selection, syndrome-based error correction, then SipHash key generation; the demo also supports encrypted message and video transmission. The README establishes these product-level stages, while the source index confirms only selected module references. The graph therefore omits unverified internal call details, especially in the unsampled server and C implementations.
Main entry points: extract.py Feature extraction app · aes.c AES encryption · one_syndrome.c BCH syndrome extractor · app.py Client interface
Components 18
ECG features
- Feature extraction app
app/biometric_app/Feature_Extraction/extract.py - Neural models
app/biometric_app/Feature_Extraction/models.py - Signal generation
feature extraction/FeatureExtraction/generateSamples.py - Model training
feature extraction/FeatureExtraction/Create_and_train.py - Feature analysis
feature extraction/FeatureExtraction/analyzeData.py - Quantization and selection
feature extraction/FeatureExtraction/extract.py
Key extraction
- BCH syndrome extractor
4th year project/one_syndrome.c - Dataset handling
4th year project/DataSet.c
Secure demo
- Client interface
app/biometric_app/Client Side/app.py - Client module
app/biometric_app/Client Side/client_module.py - Server interface
app/biometric_app/Server Side/server_streamlit.py - Server module
app/biometric_app/Server Side/server_module.py - C client
4th year project/Client.c - C server
4th year project/Server.c
Cryptographic primitives
- SipHash
4th year project/siphash.c - AES encryption
4th year project/aes.c
Other components
- User
- ECG signals
Connections 18
- User → Client interface: uses
- ECG signals → Feature extraction app: extracts features
- Signal generation → Feature extraction app: supplies signals
- Feature extraction app → Neural models: uses model
- Model training → Neural models: trains
feature extraction/FeatureExtraction/Create_and_train.py - Feature extraction app → Quantization and selection: quantizes features
- Feature analysis → Quantization and selection: supports selection
feature extraction/FeatureExtraction/extract.py - Quantization and selection → BCH syndrome extractor: feeds fuzzy extractor
- BCH syndrome extractor → Dataset handling: uses data
4th year project/one_syndrome.c - BCH syndrome extractor → SipHash: compresses key
- Client interface → Client module: delegates to
app/biometric_app/Client Side/app.py - Client interface → Server interface: communicates
- Server interface → Server module: delegates to
- Client module → AES encryption: encrypts traffic
- Server module → AES encryption: decrypts traffic
- C client → C server: communicates
- C client → AES encryption: uses encryption
- C server → AES encryption: uses encryption