Cryptography with Python 33: Implementing Encrypt-then-MAC in Python

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

⏰ Timestamps for content in this video ⏰

00:00 Recap of Encrypt-then-MAC approach
01:20 Setting up the Encrypt-then-MAC implementation in Python
04:18 Implementing the encryption layer with 256-bit AES-CBC in Python
06:52 Implementing the decryption layer with 256-bit AES-CBC in Python
08:25 Implementing the HMAC-SHA-256 mac tag calculation in Python
09:33 Implementing the HMAC-SHA-256 mac tag verification in Python
10:10 Executing the Encrypt-then-MAC implementation

🔷🔷 About 🔷🔷

This Fundamental Cryptography in Theory and Python lesson presents, how an Encrypt-then-MAC approach that makes use of 256-bit AES-CBC and HMAC-SHA-256 can be implemented 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 27 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,768865 4,41%
aave
Aave (AAVE) 84,11 0,88%
the-graph
The Graph (GRT) 0,245684 0,58%
kusama
Kusama (KSM) 27,61 1,08%
waves
Waves (WAVES) 2,24 0,42%
dash
Dash (DASH) 28,46 2,02%
bitcoin
Bitcoin (BTC) 60.256,21 0,91%
ethereum
Ethereum (ETH) 2.945,20 0,51%
cardano
Cardano (ADA) 0,438139 0,03%
tether
Tether (USDT) 0,934625 0,05%
xrp
XRP (XRP) 0,489938 0,11%
solana
Solana (SOL) 134,80 1,27%
polkadot
Polkadot (DOT) 6,43 0,59%
usd-coin
USDC (USDC) 0,934625 0,08%
dogecoin
Dogecoin (DOGE) 0,141280 0,97%
uniswap
Uniswap (UNI) 7,21 0,38%
terra-luna
Terra Luna Classic (LUNC) 0,000102 5,88%
litecoin
Litecoin (LTC) 79,73 2,38%
chainlink
Chainlink (LINK) 13,71 0,02%
bitcoin-cash
Bitcoin Cash (BCH) 449,48 1,18%
algorand
Algorand (ALGO) 0,190501 0,61%
matic-network
Polygon (MATIC) 0,669789 2,42%
stellar
Stellar (XLM) 0,105872 0,18%
cosmos
Cosmos Hub (ATOM) 7,71 1,48%
filecoin
Filecoin (FIL) 5,60 0,84%
tron
TRON (TRX) 0,109993 2,74%
ethereum-classic
Ethereum Classic (ETC) 25,27 3,60%
dai
Dai (DAI) 0,934542 0,04%
tezos
Tezos (XTZ) 0,942102 0,64%
monero
Monero (XMR) 111,76 0,98%