Posts
All the articles I've posted.
File Encryption with AES in OpenSSL
A step-by-step guide to encrypting and decrypting files with AES-256-CBC in OpenSSL: generating a key and IV, PKCS#7 padding, deriving parameters from a password with PBKDF2, and inspecting the Salted__ file format.
File Encryption with RSA in OpenSSL
Breaking down RSA keys in OpenSSL at the byte level: generating a key pair, parsing the ASN.1 structure of private and public keys, then encrypting and decrypting a file with pkeyutl.
Creating a Digital Signature with RSA in OpenSSL
Creating an RSA digital signature in OpenSSL step by step: hashing a file with SHA-256, signing with the private key, verifying with the public key, and inspecting the recovered DigestInfo ASN.1 structure.
How Git Manages Changes
How Git stores data as content-addressed objects: reading refs and HEAD, computing object hashes, inspecting commits and trees, diffing blobs, tracking the index, and telling lightweight tags from annotated ones.
How to Run GitLab Runner on Synology NAS
Deploying a self-hosted GitLab Runner on a Synology DS423+ NAS with docker-compose: registering the runner, mounting its config into a container, and verifying that pipelines run locally without spending GitLab free-plan minutes.
How to View the Latest Database Schema Post-Migrations
A Go utility that spins up a clean PostgreSQL container with testcontainers, applies goose migrations for each service, and dumps the resulting schema with pg_dump to keep every service's SQL schema up to date.
HTTP over SSH in Go
How to send HTTP requests to a web server on a remote machine from a Go application through an SSH tunnel using a custom http.RoundTripper and socat, with traffic analysis via tcpdump and Wireshark.
Password Recovery for ZIP Archive Using Hashcat
Creating a password-protected ZIP archive, extracting its PKZIP hash with zip2john, then recovering the password with Hashcat using a dictionary and a mask attack.
How to Restore Data from a Backup in PostgreSQL
Creating a PostgreSQL backup with pg_dump in Docker and restoring it into a fresh local database with pg_restore, using a remote Neon database on Vercel as the source.
Julia Set Fractals — Graphics with Ebiten in Go
Rendering Julia set fractals in Go with the Ebiten 2D graphics library: computing point colors from iteration counts, navigating the image with the keyboard, and saving high-resolution snapshots.