Practical-Cryptography-for-Developers-Book
Practical-Cryptography-for-Developers-Book copied to clipboard
Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatu...
it looks d is -300 instead of 300. thank you for this math-free cryptography book!
The original wording evoked encryption VIA calculating a MAC. I propose this chapter to be moved to "encryption - overview" and the quick usage points to be titled "How we...
This crucial difference is missing in the text and it treats KDFs as if they were PBKDFs, possibly confusing coders - the target audience. KDF is a key derivation function...
The example Python code for the Scrypt key derivation algorithm contains a wrong module name (current: **pyscrypt**, should be **scrypt**). Page: [https://cryptobook.nakov.com/mac-and-key-derivation/scrypt](https://cryptobook.nakov.com/mac-and-key-derivation/scrypt) Current code: ``` import pyscrypt salt = b'aa1f2d3f4d23ac44e9c5a6c3d8f9ee8c'...
  security level : 125.8 < 127.8, why the EdDSA is more secure than ECDSA?
maybe have a error here : "Example: Multiply EC Point by Integer":  ---------- for k = 6, G = {15,13}, P = k*G = 6*{15,13} = {90,78} mod 17...
asymmetric-key-ciphers: README.md: `EIS` => `IES`
from pycoin.ecdsa import generator_secp256k1, sign, verify import hashlib, secrets def sha3_256Hash(msg): hashBytes = hashlib.sha3_256(msg.encode("utf8")).digest() return int.from_bytes(hashBytes, byteorder="big") def signECDSAsecp256k1(msg, privKey): msgHash = sha3_256Hash(msg) signature = sign(generator_secp256k1, privKey, msgHash) return signature...
Cool book! By the way chat gpt solves your problems super well! Here my 5 cents: In https://github.com/nakov/Practical-Cryptography-for-Developers-Book/blob/a05a5176a5db86885d6119832b73bea93aee45c5/key-exchange/diffie-hellman-key-exchange.md?plain=1#L86 Should it be 5^4 mod 23 = 4 instead of 54 mod...
Missed ")" in the link