2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <title>Digest::base - Digest base class
</title>
6 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <link rev=
"made" href=
"mailto:" />
10 <body style=
"background-color: white">
11 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
12 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
13 <big><strong><span class=
"block"> Digest::base - Digest base class
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
25 <li><a href=
"#see_also">SEE ALSO
</a></li>
32 <h1><a name=
"name">NAME
</a></h1>
33 <p>Digest::base - Digest base class
</p>
37 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
40 use base 'Digest::base';
</pre>
44 <h1><a name=
"description">DESCRIPTION
</a></h1>
45 <p>The
<code>Digest::base
</code> class provide implementations of the methods
46 <code>addfile
</code> and
<code>add_bits
</code> in terms of
<code>add
</code>, and of the methods
47 <code>hexdigest
</code> and
<code>b64digest
</code> in terms of
<code>digest
</code>.
</p>
48 <p>Digest implementations might want to inherit from this class to get
49 this implementations of the alternative
<em>add
</em> and
<em>digest
</em> methods.
50 A minimal subclass needs to implement the following methods by itself:
</p>
56 <p>The arguments and expected behaviour of these methods are described in
57 <a href=
"file://C|\msysgit\mingw\html/lib/Digest.html">the Digest manpage
</a>.
</p>
61 <h1><a name=
"see_also">SEE ALSO
</a></h1>
62 <p><a href=
"file://C|\msysgit\mingw\html/lib/Digest.html">the Digest manpage
</a></p>
63 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
64 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
65 <big><strong><span class=
"block"> Digest::base - Digest base class
</span></strong></big>