# Algorithm Class Reference

`#include <cryptlib.h>`

Inheritance diagram for Algorithm:

List of all members.

## Detailed Description

interface for all crypto algorithms

Definition at line 343 of file cryptlib.h.

## Public Member Functions
| Algorithm (bool checkSelfTestStatus=true)
virtual std::string | AlgorithmName () const
| returns name of this algorithm, not universally implemented yet
virtual Clonable * | Clone () const
| this is not implemented by most classes yet

## Constructor & Destructor Documentation

Algorithm::Algorithm | ( | bool | checkSelfTestStatus = `true` | ) |

When FIPS 140-2 compliance is enabled and checkSelfTestStatus == true, this constructor throws SelfTestFailure if the self test hasn't been run or fails.

Definition at line 41 of file cryptlib.cpp.

The documentation for this class was generated from the following files:

- cryptlib.h
- cryptlib.cpp