From 897ff129fe66a34d2316b4c99eea687601add373 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 8 Apr 2004 13:00:59 +0000 Subject: [PATCH] Upgrade to Digest 1.06. p4raw-id: //depot/perl@22675 --- lib/Digest.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Digest.pm b/lib/Digest.pm index 9353db1..f9a3930 100644 --- a/lib/Digest.pm +++ b/lib/Digest.pm @@ -3,7 +3,7 @@ package Digest; use strict; use vars qw($VERSION %MMAP $AUTOLOAD); -$VERSION = "1.05"; +$VERSION = "1.06"; %MMAP = ( "SHA-1" => ["Digest::SHA1", ["Digest::SHA", 1], ["Digest::SHA2", 1]], @@ -139,7 +139,8 @@ name of the digest algorithm you want to use. The two first forms are simply syntactic sugar which automatically load the right module on first use. The second form allow you to use algorithm names which contains letters which are not legal perl -identifiers, e.g. "SHA-1". +identifiers, e.g. "SHA-1". If no implementation for the given algorithm +can be found, then an exception is raised. If new() is called as an instance method (i.e. $ctx->new) it will just reset the state the object to the state of a newly created object. No @@ -261,7 +262,7 @@ developed by Neil Winton for his C module. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. - Copyright 1998-2001,2003 Gisle Aas. + Copyright 1998-2001,2003-2004 Gisle Aas. Copyright 1995-1996 Neil Winton. =cut -- 2.7.4