Skip Menu |

This queue is for tickets about the Digest-SHA1 CPAN distribution.

Report information
The Basics
Id: 4797
Status: resolved
Priority: 0/
Queue: Digest-SHA1

People
Owner: Nobody in particular
Requestors: ville.skytta [...] iki.fi
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.07
Fixed in: (no value)



Subject: Tiny SHA1.pm doc update
s/md5/sha1/
--- SHA1.pm~ 2003-12-05 15:17:59.000000000 +0200 +++ SHA1.pm 2003-12-31 16:17:22.000000000 +0200 @@ -174,9 +174,9 @@ In most cases you want to make sure that the $io_handle is in C<binmode> before you pass it as argument to the addfile() method. -=item $md5->add_bits($data, $nbits) +=item $sha1->add_bits($data, $nbits) -=item $md5->add_bits($bitstring) +=item $sha1->add_bits($bitstring) This implementation of SHA-1 only supports byte oriented input so you might only add bits as multiples of 8. If you need bit level support @@ -212,7 +212,7 @@ The base64 encoded string returned is not padded to be a multiple of 4 bytes long. If you want interoperability with other base64 encoded -md5 digests you might want to append the string "=" to the result. +SHA-1 digests you might want to append the string "=" to the result. =back