A sample use of this technology would be to encypt a password for storing in a database that could otherwise be read in clear.
For added security you may want to put the code in a standard module or internal class rather than have it invoked in an external DLL.
NOTE: You must register ProjectCrypt.dll in the Bin directory using regsvr32 before you can use the sample project, which is located in the TestBed directory.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.