Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# Digest::base

Perl 5 version 10.1 documentation
Go to top • Show page index • Download PDF

# Digest::base

- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO

# NAME

Digest::base - Digest base class

# SYNOPSIS

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

# DESCRIPTION

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 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

Page index

- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO

Recently read

Tools

- Preferences