protect password of tedit components
<p>I just wonder if there is an efficient way of protecting an TEdit field with password char set from tools which can read it back in plain text.</p>

<p>I think those tools for example grab the target handle of the TEdit and use gettext or something similar.</p>

<p>What I have tried so far is creating a hash for the password stored it in a variable and write it back on focus lost of the TEdit but that doesn't make sense to me since I would need to store another password for calculating the hash inside of the executable.</p>

<p>Maybe someone has a better idea of how the TEdit text could be protected against those tools.</p>