“An Overview on Encryption in C++"
summary
Overview of practical C++ encryption: compares cryptopp botan libsodium and shows AES (use GCM or CTR), RSA key-size tradeoffs (1024 shown, 2048–4096 recommended), and why libsodium’s crypto_box makes correct use easy. Code-level notes: libs and Botan expose mostly C-like unsigned char buffers, use library RNGs (not std::random_device), AES needs a fresh 16‑byte IV, reuse is fatal. Example builds show crypto_box calls that create nonce/key on the stack and return an error when authentication fails, so the boxed approach reduces common setup mistakes.
AI-written summary · about
chapters (7)
- 0:00Introduction to encryption
- 0:35Security landscape
- 5:51Encryption basics and tools
- 12:34Symmetric encryption
- 21:57Asymmetric encryption
- 26:43Crypto box approach
- 31:21Conclusion and Q&A
related talks
42mEverything I always wanted to know about crypto
36mUse Cryptography; Don't Learn It
01h 04m Cryptography For Newcomers - The hitchhiker's guide to cipher in devs
41mBetter Than ROT13
47mSymmetric Encryption from A to Z
46mFrom substitutions to public keys - an introduction to cryptography
28mMastering Cryptography in Python: Best Practices and Myth-Busting
47mPractical Security Foundations
