Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatures, ECDSA, EdDSA
python
cryptography
tutorial
programming
aes
book
ecc
digital-signature
ecdh
hmac
elliptic-curves
kdf
hashes
public-key-cryptography
elliptic-curves-cryptography
key-agreement
asymmetric-ciphers
quantum-safe-cryptography
-
Updated
Aug 28, 2020 - CSS
What is wrong?
Lots of places in the codebase do assertions like
isinstance(v, int)to check that something is an integer. Since python considersTrueandFalseto be integer types these checks won't disallow passing in aboolvalue.How can it be fixed
Probably need to add a single utility and make use of it everywhere that we do these checks.