Hi, I’m Riad. I write about Go, HTTP and networking, cryptography, Linux and developer tooling.
Posts · page 2
Working with SSH in Linux and macOS
Generate SSH keys, load them into ssh-agent, set up password-less login, clean up known_hosts and tame your ~/.ssh/config on Linux and macOS.
Symmetric Encryption with ChaCha20-Poly1305 in Go
A practical guide to authenticated symmetric encryption in Go using ChaCha20-Poly1305 — keys, nonces, where to store them, and full working code.
String Hashing in C++
How string hashing works in C++ — using std::hash, why collisions happen, and how to write your own polynomial rolling hash function.