# rihemebh/security-cheat-sheet architecture

> Architecture diagram of the GitHub repository rihemebh/security-cheat-sheet, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/rihemebh/security-cheat-sheet
- Repository: https://github.com/rihemebh/security-cheat-sheet

## Overview

This repository is a security cheat sheet, not an executable application. Its principal user workflow is to consult the README for security concepts and threats, then reference network defenses and cryptographic techniques. The README documents Netfilter and iptables, encryption methods and protocols, hashing, Kerberos, elliptic curves, and OpenSSL. Only the README is present in the supplied tree, so all content nodes point to it; undocumented links between topics are omitted.

Main entry points: [`README.md`](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md) (Asymmetric encryption)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_foundations["Foundations and threats"]
  node_concepts["Security concepts<br/>[README.md]"]
  node_attacks["Attacks<br/>[README.md]"]
end

subgraph group_network["Network defenses"]
  node_firewalls["Firewalls<br/>[README.md]"]
  node_netfilter["Netfilter<br/>[README.md]"]
  node_iptables["iptables<br/>[README.md]"]
end

subgraph group_crypto["Cryptography"]
  node_symmetric["Symmetric encryption<br/>[README.md]"]
  node_feistel["Feistel cipher<br/>[README.md]"]
  node_asymmetric["Asymmetric encryption<br/>[README.md]"]
  node_needham["Needham–Schroeder<br/>[README.md]"]
  node_rsa["RSA<br/>[README.md]"]
  node_elgamal["ElGamal<br/>[README.md]"]
  node_hybrid["Hybrid encryption<br/>[README.md]"]
  node_dh["Diffie–Hellman<br/>[README.md]"]
  node_hash["Hashing<br/>[README.md]"]
  node_kerberos["Kerberos<br/>[README.md]"]
  node_elliptic["Elliptic curves<br/>[README.md]"]
  node_openssl["OpenSSL<br/>[README.md]"]
end

node_reader(("Reader"))

node_reader -->|"consults"| node_concepts
node_reader -->|"consults"| node_attacks
node_reader -->|"consults"| node_firewalls
node_reader -->|"consults"| node_symmetric
node_reader -->|"consults"| node_asymmetric
node_reader -->|"consults"| node_hybrid
node_reader -->|"consults"| node_hash
node_reader -->|"consults"| node_kerberos
node_reader -->|"consults"| node_elliptic
node_reader -->|"consults"| node_openssl
node_netfilter -->|"configured by"| node_iptables
node_attacks -->|"includes hash attacks"| node_hash
node_symmetric -->|"describes cipher"| node_feistel
node_asymmetric -->|"describes protocol"| node_needham
node_asymmetric -->|"covers"| node_rsa
node_asymmetric -->|"covers"| node_elgamal
node_hybrid -->|"lists"| node_dh

click node_concepts "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_attacks "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_firewalls "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_netfilter "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_iptables "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_symmetric "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_feistel "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_asymmetric "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_needham "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_rsa "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_elgamal "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_hybrid "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_dh "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_hash "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_kerberos "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_elliptic "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"
click node_openssl "https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_concepts,node_attacks toneBlue
class node_firewalls,node_netfilter,node_iptables toneAmber
class node_symmetric,node_feistel,node_asymmetric,node_needham,node_rsa,node_elgamal,node_hybrid,node_dh,node_hash,node_kerberos,node_elliptic,node_openssl toneMint
class node_reader toneIndigo
```

## Components

### Foundations and threats

- [Security concepts](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Attacks](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`

### Network defenses

- [Firewalls](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Netfilter](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [iptables](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`

### Cryptography

- [Symmetric encryption](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Feistel cipher](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Asymmetric encryption](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Needham–Schroeder](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [RSA](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [ElGamal](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Hybrid encryption](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Diffie–Hellman](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Hashing](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Kerberos](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [Elliptic curves](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`
- [OpenSSL](https://github.com/rihemebh/security-cheat-sheet/blob/main/README.md): `README.md`

### Other components

- **Reader**

## Connections

- Reader → Security concepts: consults
- Reader → Attacks: consults
- Reader → Firewalls: consults
- Reader → Symmetric encryption: consults
- Reader → Asymmetric encryption: consults
- Reader → Hybrid encryption: consults
- Reader → Hashing: consults
- Reader → Kerberos: consults
- Reader → Elliptic curves: consults
- Reader → OpenSSL: consults
- Netfilter → iptables: configured by
- Attacks → Hashing: includes hash attacks
- Symmetric encryption → Feistel cipher: describes cipher
- Asymmetric encryption → Needham–Schroeder: describes protocol
- Asymmetric encryption → RSA: covers
- Asymmetric encryption → ElGamal: covers
- Hybrid encryption → Diffie–Hellman: lists
