============================================================
	ePassencryptsamp Sample Instruction
============================================================

This sample demonstrates how to use ePass1000 to encrypt/decrypt user file

First please create two key files in ePass1000
	Run ePass1000 console editor
	Use "F" command to open device
	Use "S" command to verify SOPIN (i.e. administrator password)
	Use "Y" command to enter security function
	Use "M" command to generate key file, set file ID 1 2
	Use "X" command to quit the console editor

After compiled sample, ePassEncryptSamp.dll will be generated. Copy this file to 
system folder. For Windows98, system folder is %WINDOWS%\system; for Windows 2000/XP/2003/Vista,
system folder is %WINDOWS%\system32. Run

	regsvr32 ePassEncryptSamp.dll

to register the component.

This component will add a menu item "Encrypt" to system's right click menu. Right click on 
the file and select "Encrypt", the file will be encrypted. The original filename will be
renamed with .bak suffix. The encrypted data is stored in the file with .!ef suffix.

Right click on .!ef file, there is an item "Decrypt" used to decrypt that file.

To unregister the component, please run:

	regsvr32 ePassEncryptSamp.dll /u

If the encryption function has been used, even unregistered the component, the related memory
will not be released.  Please restart the computer and then delete the ePassEncryptSamp.dll file
 in system folder.
