This repository is intended for education, experimentation, and reference; not for production usage. These are files programmed by me for my information Security Course at Concordia University Irvine which I learned the fundamentals of information & cyber security that covered the topics of historical, modern cryptography, and computer system security.
Table of contents
- About
- Code
About This repository contains several Python implementations and demonstrations of encryption-related algorithms (DES family, RSA, and GNU Privacy Guard related utilities). Each script is documented in-code and demonstrates algorithm internals and test vectors for learning.
Code files
DES (classic DES / 3DES implementations and tests)
- DES/TDES.py — Triple DES (3DES) implementation.
- DES/cuiDES.py — Original DES implementation
- DES/des_constants_permutation_tables.py — DES permutation tables used by the algorithm.
- DES/des_constants_sbox_tables.py — DES S-box definitions.
- DES/des_constants_subkey_tables.py — Key schedule constants for subkey generation.
- DES/des_tests_subkey.py — Test vectors and unit-like checks for the DES subkey scheduling.
- DES/elud_SBOXtest.py — Small S-box test harness.
- DES/elud_des_permTables.py — Permutation table.
- DES/homework09.py
- DES/homework10.py
RSA (asymmetric crypto demonstrations)
- RSA/rsa.py — RSA key generation, encryption/decryption, signing and verification functions with examples and comments.
GNU Privacy Guard Project (GPG-related scripts / 3DES & helpers)
- GNU Privacy Guard Project/TDES.py — Another 3DES-focused implementation/use-case inspired by GPG internals.
- GNU Privacy Guard Project/des_constants_permutation_tables.py — Permutation tables (copy/variant used for GPG-focused scripts).
- GNU Privacy Guard Project/des_constants_sbox_tables.py — S-box tables.
- GNU Privacy Guard Project/des_constants_subkey_tables.py — Subkey schedule constants (GPG folder variant).
- GNU Privacy Guard Project/gpg_consts.py — GPG-related constants and helper definitions.
- GNU Privacy Guard Project/gpg_decrypt.py — Example script exploring GPG-style decryption flows.
License This project is licensed under the MIT License. See LICENSE for details.
Thank you for exploring my Information Security Repository.