Skip to content

Blog Posts

Efficient sparse octree

Implementation of a sparse octree memory layout that allows to store sparse data in a compact way

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++: 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