EPISODES:
Cryptography with Python 1: Introduction and content of course Cryptography with Python 2: Cryptography & its classic security goals Cryptography with Python 3: Confidentiality as a security goal Cryptography with Python 4: Symmetric encryption with AES and ECB/CBC Cryptography with Python 5: Using insecure AES-ECB in Python Cryptography with Python 6: Using secure AES-CBC in Python Cryptography with Python 7: Implementing AES in Python #1 Cryptography with Python 8: Implementing AES in Python #2 Cryptography with Python 9: Implementing AES in Python #3 Cryptography with Python 10: Implementing AES in Python #4 Cryptography with Python 11: Implementing AES in Python #5 Cryptography with Python 12: Implementing AES-ECB/CBC in Python #1 Cryptography with Python 13: Implementing AES-ECB/CBC in Python #2 Cryptography with Python 14: Asymmetric encryption with RSA Cryptography with Python 15: Using RSA in Python Cryptography with Python 16: Implementing RSA in Python #1 Cryptography with Python 17: Implementing RSA in Python #2 Cryptography with Python 18: Implementing RSA in Python #3 Cryptography with Python 20: Implementing hybrid RSA-AES encryption in Python Cryptography with Python 21: Using EDH and ECDHE in Python Cryptography with Python 22: Implementing a P-256 ECDHE in Python Cryptography with Python 23: Integrity as a security goal Cryptography with Python 24: Hash function structure and properties Cryptography with Python 25: Hash function security Cryptography with Python 27: Implementing SHA-256 in Python #1 Cryptography with Python 28: Implementing SHA-256 in Python #2 Cryptography with Python 30: HMAC, Encrypt-then-MAC and GCM Cryptography with Python 26: Using MD5, SHA-1, SHA-2, SHA-3 in Python Cryptography with Python 31: Using HMAC in Python Cryptography with Python 34: Using AES-GCM in Python Cryptography with Python 35: Implementing AES-GCM in Python #1 Cryptography with Python 36: Implementing AES-GCM in Python #2 Cryptography with Python 37: Non-repudiation as a security goal Cryptography with Python 38: Digital signatures Cryptography with Python 39: Using RSA-PSS & Ed25519 signatures in Python Cryptography with Python 40: Recap and summary

Cryptography with Python 36: Implementing AES-GCM in Python #2

Entire course: ➡️ https://www.youtube.com/playlist?list=PLWjMI9CAmVU4–SmpzgswTvxLkZqC9QWn

⏰ Timestamps for content in this video ⏰

00:00 Introducing the GCM GHASH hash calculation function
00:57 Introducing the GCM GCTR counter-mode based encryption function
01:57 Implementing GHASH in Python
04:06 Implementing the GCM MUL 128-bit block multiplication function in Python
07:21 Implementing GCTR in Python
11:15 Executing the AES-GCM implementation

🔷🔷 About 🔷🔷

This Fundamental Cryptography in Theory and Python lesson is the 2nd of 2 parts demonstrating, how AES-GCM can be implemented in Python straight out of the official standardization document NIST SP 800-38D which defines the Galois/Counter Mode (GCM) block cipher mode of operation.

In this second part, the implementation of the GHASH function and the GCTR function are demonstrated, which concludes the implementation of AES-GCM.

All code demonstrated serves educational purposes only.

📝 Resources used and created for code lessons 📝

https://github.com/cgossi/fundamental_cryptography_with_python

(Visited 56 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,738937 4,26%
aave
Aave (AAVE) 84,24 4,00%
the-graph
The Graph (GRT) 0,255131 10,37%
kusama
Kusama (KSM) 30,18 5,16%
waves
Waves (WAVES) 2,41 0,37%
dash
Dash (DASH) 28,70 4,39%
bitcoin
Bitcoin (BTC) 61.835,97 2,07%
ethereum
Ethereum (ETH) 3.019,40 4,57%
cardano
Cardano (ADA) 0,450796 3,08%
tether
Tether (USDT) 0,938087 0,07%
xrp
XRP (XRP) 0,478470 3,20%
solana
Solana (SOL) 144,98 7,86%
polkadot
Polkadot (DOT) 6,56 4,45%
usd-coin
USDC (USDC) 0,937150 1,33%
dogecoin
Dogecoin (DOGE) 0,154121 3,48%
uniswap
Uniswap (UNI) 7,23 6,29%
terra-luna
Terra Luna Classic (LUNC) 0,000100 6,16%
litecoin
Litecoin (LTC) 75,88 3,01%
chainlink
Chainlink (LINK) 13,43 3,72%
bitcoin-cash
Bitcoin Cash (BCH) 508,79 9,32%
algorand
Algorand (ALGO) 0,171415 4,15%
matic-network
Polygon (MATIC) 0,685933 5,92%
stellar
Stellar (XLM) 0,105215 3,62%
cosmos
Cosmos Hub (ATOM) 8,01 2,13%
filecoin
Filecoin (FIL) 5,92 6,26%
tron
TRON (TRX) 0,106883 2,44%
ethereum-classic
Ethereum Classic (ETC) 25,86 3,89%
dai
Dai (DAI) 0,937150 0,12%
tezos
Tezos (XTZ) 1,02 5,58%
monero
Monero (XMR) 114,35 0,17%