Skip to main content

Implementation of various algorithms to calculate the secrecy capacity of MIMO channels

Project description

Calculation of the Secrecy Capacity

This repository contains Python implementations of two algorithms that allow a (numerical) calculation of the secrecy capacity of wiretap channels.

The two algorithms are taken from the following publications:

S. Loyka and C. D. Charalambous, "An Algorithm for Global Maximization of Secrecy Rates in Gaussian MIMO Wiretap Channels," IEEE Trans. Commun., vol. 63, no. 6, pp. 2288–2299, Jun. 2015.

T. Van Nguyen, Q.-D. Vu, M. Juntti, and L.-N. Tran, "A Low-Complexity Algorithm for Achieving Secrecy Capacity in MIMO Wiretap Channels," in ICC 2020 - 2020 IEEE International Conference on Communications (ICC), 2020.

Installation

You can install the package via pip

pip install secrecy-capacity

If you want to install the latest version, you can install the package from source

git clone https://github.com/klb2/secrecy-capacity-calculation.git
cd secrecy_capacity
git checkout dev  # only if you want to unstable version
pip install .

Usage

Some examples are provided in the examples/ directory. You can run the code locally or using a service like Binder. If you use Binder, you do not need a local Python installation and you can simply run the scripts in your browser.

Binder

Version

The code has been developed and tested with the following versions

  • Python 3.9
  • numpy 1.19
  • scipy 1.6
  • matplotlib 3.3
  • Jupyter 1.0

License and Referencing

This program is licensed under the GPLv3 license. If you in any way use this code for research that results in publications, please cite the original articles listed above and this repository.

You can use the following BibTeX entry for this repository

@online{BesserSecrecyCapacityCalculation,
  author = {Besser, Karl-Ludwig},
  title = {Algorithms to calculate the secrecy capacity},
  subtitle = {Python Implementation},
  year = {2021},
  url = {https://github.com/klb2/secrecy-capacity-calculation},
  version = {0.1.0},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

secrecy_capacity-0.1.0.tar.gz (23.1 kB view hashes)

Uploaded Source

Built Distribution

secrecy_capacity-0.1.0-py3-none-any.whl (25.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page