How to get Private and Public keys for custom keygen

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Site Admin
Posts: 2554
Joined: Wed Aug 20, 2008 2:24 pm

How to get Private and Public keys for custom keygen

Post by Enigma » Fri Jan 23, 2009 5:03 pm

Enigma Protector has special service that allows you to make custom keys generators for your existing projects. Keygen can be a native application or a web application (written in Visual Studio). Please take a look at Exaples\Keygen folder or manual, there are examples of custom keys generators.

Custom keys generator (it can be implemented by using keygen.dll library) requires PublicKey, PrivateKey and Encryption Constant, these constants can be extracted from project file. Note, all projects have own secure conatants.

1. Extract EncryptionConstant:
open your progect file (file with .enigma) extension in notepad (project file is simple xml file), go to EnigmaProject->RegistrationFeatures->Constants->EncryptedConstant, value in EncryptedConstant tag is that you need
2. Extract PublicKey and Private Key:
open project file in Enigma, go to REGISTRATION FEATURES->Common panel, take a look what key safety type is turn on for your project (RSA 512, 768, 1024, 2048, 3072 or 4096), remember this value.
open project file in notepad, go to EnigmaProject->RegistrationFeatures->Constants then select necessary Mode, for example, if you are using RSA 1024, open Mode1024 tag and extract PrivateKey and PublicKey from this branch.

Post Reply