Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: squeamish ossifrage - SHA failing

by grep (Monsignor)
on Nov 26, 2006 at 17:50 UTC ( #586132=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    my $data = "squeamish ossifrage\n";
    print sha1_hex($data);
    
  2. or download this
    sub  SHA {          ### This algorithm is based on the implementation 
    +of SHA
                ### written by: John Allen (allen@grumman.com).
    ...
    
    return sprintf'%8x 'x4 . '%8x',@A;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://586132]
help
Chatterbox?
[jdporter]: is there a module for expanding tabs in text?
[jdporter]: A: yes.
[Lady_Aleena]: I don't know how hard it will be to get out of that mess.
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)
[Your Mother]: "They" is becoming accepted but it irritates me sometimes. I tend to just pick she or he randomly or try to use "one."
LanX thinks it is appropriate here :)
[Your Mother]: They would think so.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (17)
As of 2017-05-24 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?