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 09:04:19 PST 2015
>>> 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?
>
> Because the plain text will be in the object file.
>
> http://dpaste.dzfl.pl/95b17fff42c6
>
> Take a look at the object file and you will find “Sailor Moon”
> in it - which is what we wanted to avoid in the first place.
> I'd prefer the API that prevents something like that.
Yes.
More information about the Digitalmars-d-learn
mailing list