Short license key generation and validation framework based on elliptic curve digital signatures (ECDSA) for Mac OS X/Cocoa.
Project goal: replacement for AquaticPrime with shorter keys and similar or better security.
Documentation will be available later... For now, read EllipticLicense.h.
Example keys
112-bit curve (~ equivalent to RSA-512, 256 bit security) - 45 characters:
Licensed to: John Doe License key: HQYRV-OZFNZ-M3L7B-WA644-CXLG4-D7IRD-QZ6FY-GJGTO-MEXEG
128-bit curve (~ 264 bit security) - 52 characters:
Licensed to: John Doe License key: YBFB-L264-32WL-KHK4-DA4L-L7VW-HGCV-PO3U-PFF6-RJHW-MRBS-5OW4-53WA
160-bit curve (~ equivalent to RSA-1024, 280 bit security) - 64 characters:
Licensed to: John Doe License key: IPAA6CH2-2STFJTCW-PYBDDBDM-YK4ZYA6N-3YE624E4-2K7KFDLE-LODJEN5W-WRADC652
Get it
This is a Fossil repository (see Fossil Quick Start).
Clone command:
fossil clone https://codingrobots.org/ellipticlicense EllipticLicense.fossil
To get the latest version of source code without using Fossil, login as anonymous, go to Timeline, select the latest check-in, and click "ZIP archive".
Git Mirror: http://github.com/dchest/ellipticlicense
EllipticLicenseDeveloper App
There's a GUI application for managing your project public and private keys, generating licenses and blocking keys called EllipticLicenseDeveloper included.
Requirements
Mac OS X 10.6 (because it includes libcrypto.0.9.8d.dylib, don't forget to link you project with it).
No Copyright
EllipticLicense has been released into the public domain. This means that you can do whatever you want with this code, and you're not requred to even mention that you use it.
Icon © FatCow. Creative Commons Attribution 3.0 License