# Library Foundation

# Package Crypt

## Overview

Classes: DigestBuf, DigestEngine, DigestIOS, DigestInputStream, DigestOutputStream, HMACEngine, MD4Engine, MD5Engine, PBKDF2Engine, Random, RandomBuf, RandomIOS, RandomInputStream, SHA1Engine, SHA2Engine, SHA2Engine224, SHA2Engine256, SHA2Engine384, SHA2Engine512

## 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 implements the HMAC message authentication code algorithm, as specified in RFC 2104.

### class MD4Engine

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

### class MD5Engine

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

### class PBKDF2Engine

This class implements 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 implements the SHA-1 message digest algorithm.

### class SHA2Engine

This class implements the SHA-2 message digest algorithm.

### class SHA2Engine224

### class SHA2Engine256

### class SHA2Engine384

### class SHA2Engine512