Skip to content

Using cryptography in your application #69

@Xenonym

Description

@Xenonym

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions