[fpc-pascal] Resource strings, passwords etc.

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Jul 13 10:37:52 CEST 2016

On 2016-07-13 08:31, Mark Morgan Lloyd wrote:
> Sometimes it's difficult to avoid having to do that sort of thing, or 
> obfuscating them in an external file.

You could use something like DCPCrypt to help the cause. Or you could
follow similar tactics to what OnGuard uses - encode sensitive text in a
data structure. At the very least use a const of bytes instead of clear
text. For example:

  CKey : TKey =


fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

My public PGP key:  http://tinyurl.com/graeme-pgp

More information about the fpc-pascal mailing list