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 28: Implementing SHA-256 in Python #2

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

⏰ Timestamps for content in this video ⏰

00:00 Implementing the SHA-256 hash computation functions sig0, sig1, Sig0, Sig1 in Python
03:33 Implementing the SHA-256 hash computation functions Ch and Maj in Python
04:24 Implementing the SHA-256 hash computation lookup table K_256 in Python
05:57 Executing the SHA-256 hash value computation

🔷🔷 About 🔷🔷

This Fundamental Cryptography in Theory and Python lesson is the 2nd of 2 parts demonstrating, how SHA-256 as a hash function can be implemented in Python straight out of the official standardization document NIST FIPS PUB 180-4.

In this second part, the implementation of the SHA-256 hash computation is demonstrated.

All code demonstrated serves educational purposes only.

📝 Resources used and created for code lessons 📝

https://github.com/cgossi/fundamental_cryptography_with_python

(Visited 3 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,992816 4,02%
aave
Aave (AAVE) 78,11 5,30%
the-graph
The Graph (GRT) 0,107201 5,06%
kusama
Kusama (KSM) 32,98 7,24%
waves
Waves (WAVES) 2,43 8,54%
dash
Dash (DASH) 54,61 4,41%
bitcoin
Bitcoin (BTC) 21.150,22 2,31%
ethereum
Ethereum (ETH) 1.496,66 3,34%
cardano
Cardano (ADA) 0,356360 4,69%
tether
Tether (USDT) 0,925397 0,12%
xrp
XRP (XRP) 0,367931 4,47%
solana
Solana (SOL) 21,63 5,11%
polkadot
Polkadot (DOT) 6,09 5,02%
usd-coin
USD Coin (USDC) 0,924474 0,03%
dogecoin
Dogecoin (DOGE) 0,084693 6,49%
uniswap
Uniswap (UNI) 6,31 6,05%
terra-luna
Terra Luna Classic (LUNC) 0,000167 7,13%
litecoin
Litecoin (LTC) 88,37 3,88%
chainlink
Chainlink (LINK) 6,43 4,87%
bitcoin-cash
Bitcoin Cash (BCH) 123,76 4,00%
algorand
Algorand (ALGO) 0,235134 5,62%
matic-network
Polygon (MATIC) 1,11 6,09%
stellar
Stellar (XLM) 0,084003 3,09%
cosmos
Cosmos Hub (ATOM) 13,51 1,78%
filecoin
Filecoin (FIL) 4,83 6,05%
tron
TRON (TRX) 0,058834 0,92%
ethereum-classic
Ethereum Classic (ETC) 21,02 5,41%
dai
Dai (DAI) 0,924474 0,13%
tezos
Tezos (XTZ) 1,09 0,61%
monero
Monero (XMR) 153,13 4,41%