How to prevent sensitive information is displayed when the extension 'exe' is modified to 'txt' on windows?

Tobias Pankrath via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 7 06:33:15 PST 2015


On Wednesday, 7 January 2015 at 14:18:53 UTC, FrankLike wrote:
> On Wednesday, 7 January 2015 at 11:00:54 UTC, Laeeth Isharc 
> wrote:
>>
>>>
>>> What you want is some kind of code obfuscation. The easiest 
>>> thing for
>>> you is to use exe compression. It is not going to stop a 
>>> dedicated
>>> attacker, but ordinary people will not be able to extract any
>>> information from it.
>>
>> And I guess as an alternative to the utility you linked to, 
>> you could use D's ability to run code at compile time to 
>> encrypt your sensitive literals during compilation and then 
>> decrypt them on program startup.
>
> Thank you,but it's not easy to do,can you show me some detail?

http://dpaste.dzfl.pl/3bbdecfefa5c


More information about the Digitalmars-d-learn mailing list