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

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 7 08:23:37 PST 2015


On Wednesday, 7 January 2015 at 16:15:49 UTC, Tobias Pankrath 
wrote:
>>>
>>> http://dpaste.dzfl.pl/3bbdecfefa5c
>>
>> I'm not sure about some of that. Bad casts w.r.t. immutability 
>> etc.
>>
>> How about:
>> http://dpaste.dzfl.pl/706ab2db9ce1
>
> I would keep the encryption inside a template to prevent users 
> from assigning it to a variable without triggering CTFE.

Why would that be a problem?


More information about the Digitalmars-d-learn mailing list