# Library Foundation

# Package Crypt

## Overview

Classes: DigestBuf, DigestEngine, DigestIOS, DigestInputStream, DigestOutputStream, HMACEngine, MD4Engine, MD5Engine, PBKDF2Engine, Random, RandomBuf, RandomIOS, RandomInputStream, SHA1Engine

## Classes

### class DigestBuf

This streambuf computes a digest of all data going through it.

### class DigestEngine

This class is an abstract base class for all classes implementing a message digest algorithm, like MD5Engine and SHA1Engine.

### class DigestIOS

The base class for DigestInputStream and DigestOutputStream.

### class DigestInputStream

This istream computes a digest of all the data passing through it, using a DigestEngine.

### class DigestOutputStream

This ostream computes a digest of all the data passing through it, using a DigestEngine.

### class HMACEngine

This class implementes the HMAC message authentication code algorithm, as specified in RFC 2104.

### class MD4Engine

This class implementes the MD4 message digest algorithm, described in RFC 1320.

### class MD5Engine

This class implementes the MD5 message digest algorithm, described in RFC 1321.

### class PBKDF2Engine

This class implementes the Password-Based Key Derivation Function 2, as specified in RFC 2898.

### class Random

A better random number generator.

### class RandomBuf

This streambuf generates random data.

### class RandomIOS

The base class for RandomInputStream.

### class RandomInputStream

This istream generates random data using the RandomBuf.

### class SHA1Engine

This class implementes the SHA-1 message digest algorithm.