by swdev281634 · 3y ago · 0 comments
Generate a key pair, embed public key in your executable, keep private key private.
A license is some JSON or XML or whatever, signed with the private key. If your licenses are permanent, and you don't need different license types, a license is just a signature of some computer ID (like hard drive serial), with that private key.
Unlike the older RSA, ECDSA results in very small signatures, even for very strong curves like NIST P-521. These signatures only take couple lines in Base64 text format.
AutoDesk software and quite a few other creative tools do that.
So whilst they are fairly easily cracked its quite hard to use that software in a commercial setting.