Hidden Strings

THStrings - component to hide strings from view.

The encryption used is a simple encryption not intended to keep out serious attacks. It is intended to merely keep the strings hidden from view in the .EXE file.

At design time or at run time, the strings are not encrypted. They are only encrypted when they are stored in the .DFM (and the .EXE) because readdata and writedata have been provided to handle this automatically.

To see how it works:
- plop one on your form.
- Put in some strings in.
- Save the form.
- Open the form as a .DFM in the IDE and look at the HStr property.
- You will see "garbage". Those are your strings.

example of use:
(assuming one of the strings in hstrings is password=SomePassword)
session.addpassword(hstrings1.strings.values['password']);

Someone could add a real encryption algorithm and make this a little more useful.

Made by Georg Zimmer, <gzimmer@usa.net>

Download (2KB, Version 0.1, Last modified: May-26-1997)

[Back]Back to The Delphi Component Building Site

1