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,752007 1,50%
aave
Aave (AAVE) 80,86 2,30%
the-graph
The Graph (GRT) 0,265457 2,18%
kusama
Kusama (KSM) 26,10 2,02%
waves
Waves (WAVES) 2,20 2,51%
dash
Dash (DASH) 26,89 1,19%
bitcoin
Bitcoin (BTC) 58.793,42 0,98%
ethereum
Ethereum (ETH) 2.833,07 2,71%
cardano
Cardano (ADA) 0,417815 1,49%
tether
Tether (USDT) 0,929555 0,03%
xrp
XRP (XRP) 0,500740 1,34%
solana
Solana (SOL) 143,03 5,21%
polkadot
Polkadot (DOT) 6,59 2,21%
usd-coin
USDC (USDC) 0,929555 0,01%
dogecoin
Dogecoin (DOGE) 0,143931 4,33%
uniswap
Uniswap (UNI) 6,94 1,10%
terra-luna
Terra Luna Classic (LUNC) 0,000099 9,17%
litecoin
Litecoin (LTC) 74,78 0,46%
chainlink
Chainlink (LINK) 13,32 0,32%
bitcoin-cash
Bitcoin Cash (BCH) 437,66 0,94%
algorand
Algorand (ALGO) 0,178424 1,40%
matic-network
Polygon (MATIC) 0,653887 3,79%
stellar
Stellar (XLM) 0,101034 1,47%
cosmos
Cosmos Hub (ATOM) 8,62 0,81%
filecoin
Filecoin (FIL) 5,53 3,27%
tron
TRON (TRX) 0,110183 1,87%
ethereum-classic
Ethereum Classic (ETC) 25,10 2,21%
dai
Dai (DAI) 0,929017 0,01%
tezos
Tezos (XTZ) 0,865237 2,79%
monero
Monero (XMR) 121,28 1,72%