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 14 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,703041 9,64%
aave
Aave (AAVE) 83,85 8,23%
the-graph
The Graph (GRT) 0,144610 9,51%
kusama
Kusama (KSM) 26,76 9,22%
waves
Waves (WAVES) 2,05 10,93%
dash
Dash (DASH) 29,77 9,23%
bitcoin
Bitcoin (BTC) 37.923,32 7,11%
ethereum
Ethereum (ETH) 2.038,48 7,49%
cardano
Cardano (ADA) 0,500111 12,12%
tether
Tether (USDT) 0,928666 0,05%
xrp
XRP (XRP) 0,570532 8,20%
solana
Solana (SOL) 63,87 7,26%
polkadot
Polkadot (DOT) 6,09 10,01%
usd-coin
USDC (USDC) 0,918460 1,15%
dogecoin
Dogecoin (DOGE) 0,087310 8,25%
uniswap
Uniswap (UNI) 5,56 9,43%
terra-luna
Terra Luna Classic (LUNC) 0,000164 13,21%
litecoin
Litecoin (LTC) 66,80 8,09%
chainlink
Chainlink (LINK) 13,56 11,01%
bitcoin-cash
Bitcoin Cash (BCH) 211,66 9,63%
algorand
Algorand (ALGO) 0,175964 6,42%
matic-network
Polygon (MATIC) 0,768883 10,37%
stellar
Stellar (XLM) 0,113670 8,56%
cosmos
Cosmos Hub (ATOM) 8,95 8,74%
filecoin
Filecoin (FIL) 4,25 10,78%
tron
TRON (TRX) 0,095771 4,64%
ethereum-classic
Ethereum Classic (ETC) 18,43 10,44%
dai
Dai (DAI) 0,928671 0,09%
tezos
Tezos (XTZ) 0,798121 11,52%
monero
Monero (XMR) 156,98 4,45%