Class hashing_count

Synopsis

#include "breeze/cryptography/hashing_count.hpp"

class hashing_count

Description

Count policy for the hashing algorithms.

Classes

exceptionThe type of exceptions emitted if the input sequence to a hashing algorithm is too long.

Methods

on_length_exhausted

Source

Lines 24-50 in breeze/cryptography/hashing_count.hpp.

class hashing_count
{
public:
    class exception ;

    //!     \brief
    //!         The type of exceptions emitted if the input sequence to
    //!         a hashing algorithm is too long.
    //
    //      Note: defined in-class as otherwise Doxygen doesn't pick its
    //      documentation up. (Problem encountered with Doxygen 1.8.18.)
    // -----------------------------------------------------------------------
    class exception
        :   public std::length_error
    {
    public:
        explicit            exception( char const * what_message ) ;
    } ;

    enum type
    {
        wraps,
        is_limited
    } ;

    static void         on_length_exhausted( type t ) ;
} ;