Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Compressing and Encrypting files on Windows

by hawtin (Prior)
on Nov 03, 2004 at 09:07 UTC ( [id://404844]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Compressing and Encrypting files on Windows
in thread Compressing and Encrypting files on Windows

There are two different implementations of Blowfish in CPAN. As I said "the CPAN implementations of Blowfish and Rijndael I am using have binary elements" (note my wording). I know that there are Pure Perl implementations of Blowfish, and obviously you are using one of them. That was not the point of my question to you.

From your posting (and your follow-up) you seem to be under the impression that using non-PurPerl modules requires forking or external process calls. Whereas I am using the faster XS implementation of Blowfish (which links against a dll) this also allows me to run the encryption code inline with my existing Perl.

The benefit of Pure Perl modules comes at installation time (when you don't need a compiler), at run time I think the interface for the two implementations of Crypt::Blowfish are exactly the same. The XS version has the same interface and is faster so, as far as I can see the selection of a Pure Perl solution only makes sense in relation to your, as you put it OS of choice.

So far the performance of my solution has turned out to be "good enough" (that is there are plenty of other places in the code that need attention before I will worry about it)

  • Comment on Re^4: Compressing and Encrypting files on Windows

Replies are listed 'Best First'.
Re^5: Compressing and Encrypting files on Windows
by elwarren (Priest) on Nov 03, 2004 at 17:02 UTC
    My apologies. I've reread the thread and somehow I latched onto the first reply by an Anonymous Monk:

    Upgrade to 5.8.5, and read "perlfork" carefully. It has a section on how to do pipe-forks.

    Cheers

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://404844]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found