Skip to content

Blog Posts

C++: Convert ISO timestamp to chrono time point

A simple utility function to convert between ISO timestamp, unix timestamp, std chrono time point, and back

C++: Open web browser with a URL

This C++ cross platform utility allows you to open a URL in the default web browser

C++: Generate random UUID

A simple utility function to generate a random UUID that works cross platform

C++: Strings Helper Utils

Utility functions, such as replacing all occurrences of text, for std::string in C++

C++: Set name of the thread

A simple cross platform function that can be used to set thread's name in C++

Crypto: Create an ECDH key pair and calculate shared secret

A minimal example how to generate a ECDH key pair and calculate the shared secret

Crypto: Derive key using KDF functions

A minimal example how to derive a new secret key from a shared key using KDF functions

Crypto: Encrypt and decrypt with AES-128 CTR

A minimal example how to encrypt and decrypt data with AES-128 in CTR mode

STM32 Minimal Setup

How to set up a minimal STM32 circuit with ST-Link V3 and debug it via JetBrains CLion