Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991178]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2017-06-23 11:21 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (543 votes). Check out past polls.