In this blog post, I will share an Erlang code snippet that can be used to compress the Elliptic Curve Digital Signature Algorithm (ECDSA) public keys. This technique can significantly reduce data size without compromising security.
Before diving into compression, it’s essential to grasp the structure of ECDSA public keys. These keys consist of two coordinates, commonly denoted as (x, y), representing points on an elliptic curve. Compression focuses on minimizing the size of these coordinates.