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

FrankLike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 7 06:18:52 PST 2015


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?



More information about the Digitalmars-d-learn mailing list