Any questions? Ask us: support@enigmaprotector.com

EncryptedConstant

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc

EncryptedConstant

Postby SeniorEx » Tue Apr 21, 2015 4:33 am

EncryptedConstant is defined as a DWORD in TKeyGenParams but my App's Enigma project file option has a signed EncryptedConstant value : -289761XXX , is it OK , should i use it signed or unsigned ? thanks.
SeniorEx
 
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am

Re: EncryptedConstant

Postby SeniorEx » Wed Apr 22, 2015 1:54 am

I tested it and its Ok :)
SeniorEx
 
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am

Re: EncryptedConstant

Postby Enigma » Thu Apr 23, 2015 12:50 pm

Yes, just to confirm, it is ok! It is really an integer... Dword is used just for a proper structure alignment.
Enigma
Site Admin
 
Posts: 2199
Joined: Wed Aug 20, 2008 2:24 pm

Re: EncryptedConstant

Postby SeniorEx » Wed Apr 29, 2015 1:54 am

Enigma wrote:Yes, just to confirm, it is ok! It is really an integer... Dword is used just for a proper structure alignment.


Yes thank you for your reply , its just that i used to know that DWORD is an unsigned integer with a range of 0 to 4294967295 , and assigning the EncryptedConstant the signed value will drive my compiler a little bit crazy :o , as i used the SDK for a custom KeyGen , so i left it a DWORD and did a conversion later for the value.

Have a nice day !
SeniorEx
 
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am


Return to Basic

Who is online

Users browsing this forum: No registered users and 3 guests