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 31: Using HMAC in Python

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

⏰ Timestamps for content in this video ⏰

00:00 Recap of message authentication codes (MAC)
01:04 Using HMAC-SHA-256 in Python
03:11 Wrong message detection with HMAC-SHA-256 in Python
04:41 Wrong key detection with HMAC-SHA-256 in Python
05:33 Wrong mac tag detection with HMAC-SHA-256 in Python
06:21 Wrong hash function detection with HMAC-SHA-256 in Python

🔷🔷 About 🔷🔷

This Fundamental Cryptography in Theory and Python lesson presents, how a hash-based message authentication code (HMAC) can be used in Python.

All code demonstrated serves educational purposes only.

📝 Resources used and created for code lessons 📝

https://github.com/cgossi/fundamental_cryptography_with_python

(Visited 45 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,771421 4,87%
aave
Aave (AAVE) 86,62 6,74%
the-graph
The Graph (GRT) 0,271432 11,15%
kusama
Kusama (KSM) 31,27 6,43%
waves
Waves (WAVES) 2,45 4,39%
dash
Dash (DASH) 29,42 5,57%
bitcoin
Bitcoin (BTC) 61.021,20 1,88%
ethereum
Ethereum (ETH) 2.967,75 3,70%
cardano
Cardano (ADA) 0,474070 5,99%
tether
Tether (USDT) 0,938442 0,07%
xrp
XRP (XRP) 0,493670 2,97%
solana
Solana (SOL) 141,22 5,94%
polkadot
Polkadot (DOT) 6,75 6,97%
usd-coin
USDC (USDC) 0,937067 0,03%
dogecoin
Dogecoin (DOGE) 0,152641 4,85%
uniswap
Uniswap (UNI) 7,35 3,11%
terra-luna
Terra Luna Classic (LUNC) 0,000103 8,82%
litecoin
Litecoin (LTC) 79,56 3,35%
chainlink
Chainlink (LINK) 13,99 7,12%
bitcoin-cash
Bitcoin Cash (BCH) 479,01 7,17%
algorand
Algorand (ALGO) 0,178241 7,70%
matic-network
Polygon (MATIC) 0,688238 8,23%
stellar
Stellar (XLM) 0,108332 2,09%
cosmos
Cosmos Hub (ATOM) 8,09 4,82%
filecoin
Filecoin (FIL) 6,23 7,03%
tron
TRON (TRX) 0,104069 1,31%
ethereum-classic
Ethereum Classic (ETC) 26,23 6,57%
dai
Dai (DAI) 0,937504 0,09%
tezos
Tezos (XTZ) 1,00 7,71%
monero
Monero (XMR) 115,22 4,62%