1Digest::base(3) User Contributed Perl Documentation Digest::base(3)
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
15 "hexdigest" 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
19 minimal 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.30.1 2020-01-29 Digest::base(3)