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 6 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,826436 2,47%
aave
Aave (AAVE) 59,49 4,24%
the-graph
The Graph (GRT) 0,125616 3,20%
kusama
Kusama (KSM) 24,11 0,73%
waves
Waves (WAVES) 1,59 3,56%
dash
Dash (DASH) 38,96 3,98%
bitcoin
Bitcoin (BTC) 25.232,63 2,29%
ethereum
Ethereum (ETH) 1.738,70 2,01%
cardano
Cardano (ADA) 0,349407 0,66%
tether
Tether (USDT) 0,931850 0,01%
xrp
XRP (XRP) 0,477419 1,46%
solana
Solana (SOL) 19,26 2,98%
polkadot
Polkadot (DOT) 4,95 2,58%
usd-coin
USD Coin (USDC) 0,931850 0,09%
dogecoin
Dogecoin (DOGE) 0,066701 1,19%
uniswap
Uniswap (UNI) 4,69 2,12%
terra-luna
Terra Luna Classic (LUNC) 0,000078 2,54%
litecoin
Litecoin (LTC) 83,40 2,80%
chainlink
Chainlink (LINK) 6,02 1,86%
bitcoin-cash
Bitcoin Cash (BCH) 105,01 1,42%
algorand
Algorand (ALGO) 0,137410 2,65%
matic-network
Polygon (MATIC) 0,827654 1,39%
stellar
Stellar (XLM) 0,084787 1,29%
cosmos
Cosmos Hub (ATOM) 9,81 2,71%
filecoin
Filecoin (FIL) 4,38 3,13%
tron
TRON (TRX) 0,070590 0,72%
ethereum-classic
Ethereum Classic (ETC) 16,73 1,89%
dai
Dai (DAI) 0,931850 0,04%
tezos
Tezos (XTZ) 0,838620 4,01%
monero
Monero (XMR) 137,66 3,73%