Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Could SHA encode faster than MD5?

by Perlbotics (Archbishop)
on Jun 20, 2020 at 18:22 UTC ( [id://11118279]=note: print w/replies, xml ) Need Help??


in reply to Could SHA encode faster than MD5?

Perhaps, you should check first if your script runs the pure Perl implementation which is pretty slow.

A first indicationt that you are running the pure Perl version would be that the following script outputs a proper version number:

$PATH_TO_YOUR_PERL_BIN/perl -MDigest::MD5 -e 'print "MD5 PP ver. = $Di +gest::Perl::MD5::VERSION\n";'
If it outputs no version number, you're likely running the XS version that is a wrapper to a fast C implementation.

Update: Perhaps, you can achieve the same effect using rsync? Seems, it can operate on --devices too.

This option causes rsync to transfer character and block device files to the remote system to recreate these devices. ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-25 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found