Re: Big file encryption
| From: | david forums | Date: | Thu, 14 Jul 2005 12:14:58 +0000 |
| Subject: | Re: Big file encryption | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218671@lists.php.net to get a copy of this message | ||
Hihihihi
Of course I already has the whole object to encrypt and decrypt, my problem is link to the size of the file.
There is no mcrypt function to load directly a file, so it's need to preload it in a variable and then encrypt or decrypt it.
But when the file is 12M size it failed.
So I need to know a way to be able to encrypt large file.
regards
david
Le Thu, 14 Jul 2005 13:33:25 +0200, Jay Blanchard <jay.blanchard@niicommunications.com> a écrit:
[snip] well I have a big file (around 12M), and I have to encrypt this file, and to decrypt some time after. How could I do? Is it possible to encrypt and decrypt a file line by line ? [/snip] Start with the manual at http://us2.php.net/manual/en/ref.mcrypt.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php