|Digest::base(3perl)||Perl Programmers Reference Guide||Digest::base(3perl)|
package Digest::Foo; use base 'Digest::base';
Digest implementations might want to inherit from this class to get this implementations of the alternative add and digest methods. A minimal subclass needs to implement the following methods by itself:
new clone add digest
The arguments and expected behaviour of these methods are described in Digest.