Skip to content

Simulation framework for Physical Layer Security (PHYSEC), including entropy analysis, CRC-24, Hamming(12,8), 64-QAM modulation/demodulation, AWGN and 3×3 MIMO channels, beamforming, and secrecy analysis. Implements end-to-end communication pipelines for Bob vs Eve SNR comparison, PER estimation and SVD-based secrecy capacity evaluation.

License

Notifications You must be signed in to change notification settings

N-Bermparis/physical-layer-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physical Layer Security Simulation Framework

MATLAB License Status

A complete academic simulation framework for Physical Layer Security (PHYSEC), integrating information theory, channel coding, modulation, and MIMO beamforming techniques. This project models a wireless communication scenario (Alice → Bob / Eve) and evaluates secrecy via entropy analysis, CRC-24 validation, Hamming(12,8) error correction, 64-QAM modulation, AWGN and 3×3 MIMO channels, eigenvector-based beamforming, and SVD-based secrecy capacity. Includes PER curves, secrecy thresholds, and full pipeline simulation.

flowchart LR

    A["Message Source / Entropy Analysis"] --> B["CRC-24 Encoding"]
    B --> C["Hamming 12-8 Encoding"]
    C --> D["64-QAM Modulation"]

    D --> E["Bob Channel (AWGN)"]
    D --> F["Eve Channel (AWGN - 4 dB)"]

    E --> G["QAM Demodulation"]
    F --> H["QAM Demodulation"]

    G --> I["Hamming Decoding"]
    H --> J["Hamming Decoding"]

    I --> K["CRC Verification"]
    J --> L["CRC Verification"]

    K --> M["Recovered Message (Bob)"]
    L --> N["Recovered Message (Eve)"]

    D --> O["MIMO 3x3 Channel + Beamforming"]
    O --> P["Equalization + Demodulation"]

Loading
physical-layer-security/
│
├── source_modeling/
│   ├── entropy_analysis.m
│   ├── mutual_information.m
│   └── README.md
│
├── coding/
│   ├── computeCRC24.m
│   ├── computeHamming.m
│   ├── hamming_decode.m
│   └── README.md
│
├── modulation/
│   ├── custom_qamdemod.m
│   ├── estimate_message.m
│   ├── decodeQAM.m
│   ├── superposition_coding_demo.m
│   └── README.md
│
├── channel/
│   ├── awgn_channel.m
│   ├── mimo_channel.m
│   ├── snr_analysis.m
│   ├── snr_analysis_beamforming.m
│   └── README.md
│
├── secrecy/
│   ├── secrecy_capacity.m
│   ├── secrecy_threshold_demo.m
│   └── README.md
│
├── utils/
│   └── plots.m
│
├── figures/
│   ├── qam_constellation.png
│   ├── beamforming_diagram.png
│   ├── entropy_flowchart.png
│   ├── secrecy_curve.png
│   └── etc.
│
└── README.md

About

Simulation framework for Physical Layer Security (PHYSEC), including entropy analysis, CRC-24, Hamming(12,8), 64-QAM modulation/demodulation, AWGN and 3×3 MIMO channels, beamforming, and secrecy analysis. Implements end-to-end communication pipelines for Bob vs Eve SNR comparison, PER estimation and SVD-based secrecy capacity evaluation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages