man Digest::base () - Digest base class

NAME

Digest::base - Digest base class

SYNOPSIS

  package Digest::Foo;
  use base 'Digest::base';

DESCRIPTION

The CWDigest::base class provide implementations of the methods CWaddfile and CWadd_bits in terms of CWadd, and of the methods CWhexdigest and CWb64digest in terms of CWdigest.

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.

SEE ALSO

Digest