cfldog is a software encryption dongle tool that generates unique machine codes, creates license codes, and verifies licenses.
- Generates unique machine codes to identify each machine.
- Allows customization of characters and generates corresponding GeneralDogKeyD.key file.
- Encrypts the GeneralDogKeyD.key file using AES encryption algorithm to generate the license code cflLicense.key.
- The license code includes time-based validity information (year, month, week) to restrict the license's expiration.
- Validates the license by checking if it matches the current machine, is within the validity period, and contains the custom string.
- Clone or download the project to your local machine.
- Make sure to include
cryptopp870
from https://www.cryptopp.com/ with thecryptlib.lib
release included. - Tested on Windows 10 and Windows Server 2012.
- Not yet tested on Linux.
- Run the
GeneralDogKey.exe
tool on the machine that needs encryption to generate a unique machine code:GeneralDog.key
. - Run the
GeneralLicenseD.exe
tool on the licensed machine to generate a unique machine code:cflLicense.key
. - Embed the generated
cflLicense.key
file into your software. - Use the
GeneralCFLDog.lib
library in your software to perform license verification:isSameLicense
.
Thank you for considering contributing to this project! If you would like to report issues, request features, or submit patches, please follow these steps:
- Fork the project on GitHub.
- Create a new branch and make your modifications.
- Submit your modifications and create a new pull request.
The cfldog project is licensed under the Apache License 2.0.
For any questions or inquiries, please contact the author:
- Name: [Cao Fulei]
- Email: [cfl997@163.com]
- VX: [cfl997]