Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: [OT]:Faster signature algorithm than md5? (4x faster)

by BrowserUk (Pope)
on Sep 01, 2012 at 17:55 UTC ( #991178=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub quickMD5 {
        my $fh = shift;
    ...
        }
        return $md5;
    }
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    my $qmd5 = quickMD5( *FH );
    printf "Partial MD5 took %.6f seconds\n", time() - $start;
    print "Partial MD5: ", $qmd5->hexdigest;
    
  3. or download this
    C:\test>md5t 500MB.csv
    Processing 500MB.csv : 536870913 bytes
    ...
    Processing 25GB.csv : 26843545600 bytes
    Full MD5 took 302.419120 seconds
    Full MD5: 24ce5b913f2f49876f0f24031b9b5d9b
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (20)
As of 2015-07-07 22:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls