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...
Hello Svetlin! First of all, thank you for your great work. I'm using it extensively on my current deep-dive journey into cryptography. In the python examples for AES GCM encryption/decryption,...
IS
Is it possible to recover pubkey only from raw Tx?
Regarding ECDSA, I found this to work for the latest release of pycoin: https://cryptobook.nakov.com/digital-signatures/ecdsa-sign-verify-examples#ecdsa-sign-verify-using-the-secp-256-k1-curve-and-sha-3-256 from pycoin.ecdsa.secp256k1 import secp256k1_generator import hashlib, secrets def sha3_256Hash(msg): hashBytes = hashlib.sha3_256(msg.encode("utf8")).digest() print(f'msgHash={hashBytes.hex()}') return int.from_bytes(hashBytes, byteorder="big")...
from pycoin.ecdsa import generator_secp256k1, sign, verify import hashlib, secrets --------------------------------------------------------------------------- ImportError Traceback (most recent call last) in ----> 1 from pycoin.ecdsa import generator_secp256k1, sign, verify 2 import hashlib, secrets 3...
@nakov , This is an excellent book and I really appreciate such great efforts to make software developers aware of modern crypto. Here, I just want to give some suggestions:...
Hi Svetlin Nakov ( @nakov ), I have completed implementation of the following : (1)register user (2)user login (3)change password (4)reset password The above 4 were marked as TODO at...
Respected Svetlin Nakov, I want to contribute to your project by writing code for the following : (a) https://github.com/nakov/Practical-Cryptography-for-Developers-Book/blob/master/mac-and-key-derivation/exercises-password-encryption.md#implement-register-user (b) https://github.com/nakov/Practical-Cryptography-for-Developers-Book/blob/master/mac-and-key-derivation/exercises-password-encryption.md#implement-register-user (c) https://github.com/nakov/Practical-Cryptography-for-Developers-Book/blob/master/mac-and-key-derivation/exercises-password-encryption.md#implement-change-password (d) https://github.com/nakov/Practical-Cryptography-for-Developers-Book/blob/master/mac-and-key-derivation/exercises-password-encryption.md#implement-reset-password Kindly tell me how to...