in reply to Re: Simple Digests?
in thread Simple Digests?

funny, in perldoc -f unpack we have :
For example, the following computes the same number as the Sys- tem V sum program: $checksum = do { local $/; # slurp! unpack("%32C*",<>) % 65535; };
So it gained one more bit in the meanwhile :)

Replies are listed 'Best First'.
Re^3: Simple Digests?
by swampyankee (Parson) on Mar 29, 2006 at 20:55 UTC

    That is funny. Now, I'm wondering why....

    emc

    "Being forced to write comments actually improves code, because it is easier to fix a crock than to explain it. "
    —G. Steele