I would like to receive the most recent news.
My e-mail is:


Subscribe
FORUM
Forum: Technical questions Back to forum list

encrypte constant string?
zeshan 5 Dec 2006 14:39:29
Hi,
I have a constant string defined in my source code.
After encrypted the software, this constant string is still plan text.
Can I encrypt it?

After I read the help file, I try to use
· void EXECryptor_EncryptStr(const char *Src, char *Dst); and
· void EXECryptor_DecryptStr(const char *Src, char *Dst);
but they are binded with Hardware ID and the unique project key.
Any approaches or tips for that?
what is the unique project key and how to get it?
Thanks.
Damon
#1529
James Simpson 5 Dec 2006 16:37:52

There are a couple of ways you can do this in execryptor. The way I would suggest is storing the constant strings as a part of a resoruce in the executable. Execryptor automatically encrypts resource strings, I believe. Failing that, you can also encapsulate the declaration inside the execryptor start and end macros, so that execryptor virtualizes the string, thus making it unreadable by crackers. Any subsequent pass of usage said string in memory can also take advantage of the Execryptor encrypt/decrypt string functionality.

Regards,

James Simpson
Straightway Technologies Inc.
#1531
StrongBit Team 7 Dec 2006 1:02:56

zeshan wrote
but they are binded with Hardware ID and the unique project key.
Any approaches or tips for that?

No, there is no tips for that. If you need to crypt strings and hide them you can write your own functions.

Regards,
StrongBit Team


#1553
Paul Tankard 12 Dec 2006 6:45:23

You could use XTEA or something and have the decrypt/encrypt code protected by execryptor crypting, crypting’hell
#1589


If you would like to post a question, reply or comment on our general forum you have to be registered. Please register for free and login here

 
Copyright © 1998-2018 StrongBit Technology Terms of Use and Privacy Statement