1Digest::base(3pm) Perl Programmers Reference Guide Digest::base(3pm)
2
3
4
6 Digest::base - Digest base class
7
9 package Digest::Foo;
10 use base 'Digest::base';
11
13 The "Digest::base" class provide implementations of the methods
14 "addfile" and "add_bits" in terms of "add", and of the methods "hexdi‐
15 gest" and "b64digest" in terms of "digest".
16
17 Digest implementations might want to inherit from this class to get
18 this implementations of the alternative add and digest methods. A min‐
19 imal subclass needs to implement the following methods by itself:
20
21 new
22 clone
23 add
24 digest
25
26 The arguments and expected behaviour of these methods are described in
27 Digest.
28
30 Digest
31
32
33
34perl v5.8.8 2001-09-21 Digest::base(3pm)