I modified BatVinks functions to encrypt/decrypt a text file
This will ONLY work with a CRLF delimited file
Note that these functions return and use a type rather than an integer to manage the encrypted file;
Functions are as follows,
/*******************************************************************************************************************************
Text Crypt File Functions
filename - The file containing the encrypted image
key - The key used to decrypt the file
CryptFile(source, destination, key)
OpenCryptFile()
CloseCryptFile()
GetCryptFileEOF()
ReadCryptFileLine()
*******************************************************************************************************************************/
PLEASE TEST IT THOUROUGHLY BEFORE YOU USE IT