code for encrypts and decrypts one file with dates

Hello,

         I need one code for encrypts and decrypts one file with dates when I open and close my apps (for safety), if anyone can help me I thank.

You want to encrypt a datafile when your application quits and decrypt it when opening? Take a look at Kem’s Blowfish implementation: https://forum.xojo.com/8886-blowfish-and-bcrypt-project/last