Publisher review:TxtCrypt can encrypt a file and insert the encrypted data into a regular text file in such way that it does not change the way the text file appears. This class can encrypt a file and insert the encrypted data into a regular text file in such way that it does not change the way the text file appears.
The encrypt algorithm is simple but it can be replaced by another more robust algorithm.
To hide the encrypted data within a text file without changing how it appears, the data is compressed, encrypted, and converted to bit stream.
The bit stream is then converted to tab (0x09) and space (0x20) characters , replacing the '1's and '0's of the bit stream. The resulting tab and space character strings is then added to the end of the carrier file.
The original carrier file size is also recorded as a converted bit stream in the end of the output file. This additional piece of information is used to extract the hidden file by the class decrypt function.
TxtCrypt is a PHP script for PHP Classes scripts design by Chao-Chyuan Shih.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris