8000 GitHub - zhf/Product_Activation: Easy Offline Product Activation
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhf/Product_Activation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Product_Activation

An Offline Product Activation Demo Built from Scratch.

Requirement

  • Microsoft Windows Vista or later
  • .Net Framework 3.5 or later

What's Implemented

  • Key-gen
  • Computing MachineID
  • Creating signature (license) based on MachineID using private key
  • Verifying signature using public key
  • Helper functions for transferring code offline

Security

  • Using 256-bit ECDSA, which is an overkill for such apps (I believe Micorosft is using some 64-bit Elliptic Curve Signature Algorithm in Windows and Office Activation), while should be quite safe in the next decade.
  • If you are port the code to another platform, consider 112-bit key to shorten the signature
  • Product Activation Mechanism does not protected your software against cracking

Using the Demo

  • Use ECC_Key_Gen.exe to create keys
  • Use PA_Public.exe to get your MachineID
  • use PA_Private.exe <MachineID> to create signature for client
  • Use PA_Public.exe <Signature_in_Base64> to verify signature

License

Source code is released under MIT License.

About

Easy Offline Product Activation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0