Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: squeamish ossifrage - SHA failing

by dwhite20899 (Pilgrim)
on Nov 27, 2006 at 00:32 UTC ( #586170=note: print w/ replies, xml ) Need Help??


in reply to squeamish ossifrage - SHA failing

Personally, I suggest Digest::SHA rather than SHA1. SHA-1 will be superceded by 2010 at the latest, so you may want to be ready to implement SHA-256 or better with Digest::SHA. You may also want to look at the test data available at http://www.nsrl.nist.gov/testdata/


Comment on Re: squeamish ossifrage - SHA failing
squeamish ossifrage - SHA failing [SOLVED::sort of]
by vnomad (Novice) on Nov 27, 2006 at 21:30 UTC
    Thanks to all! It's working good now.

    I found an evolved version of my SHA subroutine at: http://mail-archives.apache.org/mod_mbox/spamassassin-commits/200407.mbox/%3C20040701190945.25657.qmail@minotaur.apache.org%3E This one will also use Digest::SHA1 optionally if I read correctly, with 40X higher speed (!?).

    I played around with Perlshop 3.2 in the late nineties, customizing it for selling aerial photos searchable on maps, or in tables. This museum piece sleeps at: http://afoto.com/hildebilde/index.htm

    Had a lot of fun making it bilingual.

    Development of Perlshop continues at a good clip in version 4, with some nice features added while remaining effable for a neophyte like myself. This is the one that gave me the SHA error initially, but seems stable with the alternative routine.

    It would be interesting to compare the speed with, and without Digest::SHA1 under load.

    Thanks again for pointing me in the right direction!

    Dagfinn
      Could someone explain to me exactly what to change in perlshop.cgi to get the above to work please. Thank you

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (18)
As of 2014-07-14 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (268 votes), past polls