How can I increase memory security in Delphi?

前端 未结 11 1673
醉酒成梦
醉酒成梦 2020-12-11 09:50

Is it possible to \"wipe\" strings in Delphi? Let me explain:

I am writing an application that will include a DLL to authorise users. It will read an encrypted file

11条回答
  •  生来不讨喜
    2020-12-11 10:15

    How about keeping the password as a hash value in the XML and verify by comparing the hash of the input password with the hashed password in your XML.

    Edit: You can keep all the sensitive data encrypted and decrypt only at the last possible moment.

提交回复
热议问题