FROM : stephen joseph butler
DATE : Wed Apr 02 01:36:58 2008
On Tue, Apr 1, 2008 at 6:20 PM, Martin Redington <m.<email_removed>>
wrote:
> I'm running /sbin/md5 via an NSTask on a number of files (3,000 or
> so, with a new NSTask each time).
This would run a lot faster (and avoid fd issues) if you used libcrypto. Try
"man EVP_DigestInit" to get an idea of where to start.
If the files will always be fairly small, you can load them into an NSData
instance and follow the advice here: <
http://www.cocoadev.com/index.pl?MDFive>
DATE : Wed Apr 02 01:36:58 2008
On Tue, Apr 1, 2008 at 6:20 PM, Martin Redington <m.<email_removed>>
wrote:
> I'm running /sbin/md5 via an NSTask on a number of files (3,000 or
> so, with a new NSTask each time).
This would run a lot faster (and avoid fd issues) if you used libcrypto. Try
"man EVP_DigestInit" to get an idea of where to start.
If the files will always be fairly small, you can load them into an NSData
instance and follow the advice here: <
http://www.cocoadev.com/index.pl?MDFive>






Cocoa mail archive

