Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

harangzsolt33's scratchpad

by harangzsolt33 (Friar)
on Jun 25, 2016 at 18:17 UTC ( #1166560=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    ##################################################
    ...
    # This function returns a unique 8-digit hex number (hash) for a strin
    +g. "ABC" and "CAB" will have two different CRC values.
    sub CRC {my$S=defined$_[0]?$_[0]:'';my$L=length($S);my$X=$L;my$M=0;whi
    +le($L--){$X=FMOD((vec($S,$L,8)+$X+23.0912)*2145,1222);$M+=$X;$M&=6553
    +5;}HEX($X*8765,4).HEX($M,4)}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2020-04-05 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (34 votes). Check out past polls.

    Notices?