Mika Tuupola

Technology guy gone advertising.

Branca as an Alternative to JWT?

Branca is a catchy name for IETF XChaCha20-Poly1305 AEAD message with an additional version number and timestamp. It is well suited to be used as an authenticated and encrypted API token. Branca specification does not specify the payload format. Among others you can use for example JWT payloads but still have modern encryption and smaller token size provided by Branca.


WiFi Trilateration With Three or More Points

The popularity of WiFi networks has been rising rapidly during the last 15 years. In urban areas hotspots are ubiquous. These hotspots together with clever trilateration algorithms provide a cheap way to find out your or someone elses relative location.


Reverse Engineering Apple Location Services Protocol

While working on Whereami I got interested on how Apple location services work. I know it is locationd since Little Snitch keeps blocking it. Tinkering with MITM proxy revelealed interesting results.


Different Ways of Accessing an API with JavaScript

Comparing the good old jQuery with modern alternatives. Fetch is an upcoming native standard. Axios is an elegant promise based HTTP client. In the end everything is wrapped together with Vue.js to create an example online base62 decoder.