EncryptedConstant

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
SeniorEx
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am

EncryptedConstant

Post by SeniorEx »

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

Post by SeniorEx »

I tested it and its Ok :)
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: EncryptedConstant

Post by Enigma »

Yes, just to confirm, it is ok! It is really an integer... Dword is used just for a proper structure alignment.
SeniorEx
Posts: 13
Joined: Thu Jan 08, 2015 6:40 am

Re: EncryptedConstant

Post by SeniorEx »

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 !
Post Reply