in reply to File::Slurp and encryption
Try using the binmode => ':raw' option for read_file (if it's not text) and write_file (if crypt can return any byte).
Any benefit from slurping should be minimal (and null when using Big-Oh notation). You'll get real time savings by switching from the Perl version of the cypher to a C version.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: File::Slurp and encryption
by Solostian (Beadle) on Sep 21, 2005 at 21:01 UTC | |
by ikegami (Patriarch) on Sep 21, 2005 at 22:10 UTC |
In Section
Seekers of Perl Wisdom