Digest::base(3p) Perl Programmers Reference Guide Digest::base(3p)

Digest::base(3p) Perl Programmers Reference Guide Digest::base(3p) #

Digest::base(3p) Perl Programmers Reference Guide Digest::base(3p)

NNAAMMEE #

 Digest::base - Digest base class

SSYYNNOOPPSSIISS #

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

DDEESSCCRRIIPPTTIIOONN #

 The "Digest::base" class provide implementations of the methods "addfile"
 and "add_bits" in terms of "add", and of the methods "hexdigest" and
 "b64digest" in terms of "digest".

 Digest implementations might want to inherit from this class to get this
 implementations of the alternative _a_d_d and _d_i_g_e_s_t 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.

SSEEEE AALLSSOO #

 Digest

perl v5.36.3 2023-02-15 Digest::base(3p)