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 08:15:48 PST 2015


>>
>> 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.


More information about the Digitalmars-d-learn mailing list