Page 1 of 1

EncryptedConstant

Posted: Tue Apr 21, 2015 4:33 am
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.

Re: EncryptedConstant

Posted: Wed Apr 22, 2015 1:54 am
by SeniorEx
I tested it and its Ok :)

Re: EncryptedConstant

Posted: Thu Apr 23, 2015 12:50 pm
by Enigma
Yes, just to confirm, it is ok! It is really an integer... Dword is used just for a proper structure alignment.

Re: EncryptedConstant

Posted: Wed Apr 29, 2015 1:54 am
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 !