From: Struan B. <str...@Ne...> - 2008-03-10 12:14:42
|
Hi, I don't know if I'm supposed to subscribe to this list before posting to it. If so, I'm sorry. I'm looking for a Perl solution for fast encryption of arbitrary length strings. As I understand it Crypt::OpenSSL::RSA encrypts only up to keysize-42 or keysize-11 byte strings (depending on padding method). I've got an algorithm in perl that breaks up an arbitrary length string into these chunk sizes, encrypts them separately, then concatenates them again. Problem is, it's for encrypting very large (> 100Mb) data files, and as it stands it's very slow indeed. Please could anyone advise me whether Crypt::OpenSSL::RSA encryption is actually appropriate for encrypting large strings like this? If so, is it an option to extend Crypt::OpenSSL::RSA by implementing this routine in C? If not, does there already exist an alternative solution? I've looked also at Crypt::RSA but it requires rather too many module dependencies for my liking. I would be very grateful for any assistance offered. Best regards, Struan Bartlett -- ____________________________________ Struan Bartlett NewsNow Publishing Limited http://www.NewsNow.co.uk Tel: +44 (0)20 7471 0400 ____________________________________ Internet Press Cuttings & Real-time News > Corporate press alerts > Competitor awareness > Market awareness > Tailored news for web sites > Intranet newsfeeds ____________________________________ |