Files (or any other stream of data) can be encrypted by PHP using the MCrypt module. It is not normally installed by default with PHP, but it is available through the standard PHP library repository, CPAN. It provides dozens of encryption algorithms,...