Digest base class
package Digest::Foo; use base 'Digest::base';
The \*(C`Digest::base\*(C' class provide implementations of the methods \*(C`addfile\*(C' and \*(C`add_bits\*(C' in terms of \*(C`add\*(C', and of the methods \*(C`hexdigest\*(C' and \*(C`b64digest\*(C' in terms of \*(C`digest\*(C'.
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.
Digest