-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
Rationale: The current introduction to cryptography provides a good overview of cryptography from a theorectical perspective. However, I feel that an equally important topic is how should we go about implementing cryptography in our applications, because incorrect implementation choices can lead to vulnerabilities in your application.
Could be an extension, but feel like the below is enough content for its own chapter.
Outline:
- why encrypt your data
- sensitive in plaintext, in case of breach
- how to encrypt data in your application?
- language libraries: JCE, System.Security.Cryptography
- open source libraries: OpenSSL, NaCl, BouncyCastle, PyCrypto
- how to choose good cryptographic primitives
- RNGs, CSPRNGs
- encryption algorithms
- public key: RSA, ECC
- secret key: AES, ChaCha20
- authentication modes: MACs, AE crypto modes
- key generation: PBKDF