stlab.adobe.com Adobe Systems Incorporated

MD5 hash generator.

#include <md5.hpp>

List of all members.

Public Types

typedef boost::array
< boost::uint8_t, 16 > 
digest_t

Public Member Functions

digest_t final ()
 md5_t ()
void update (void *input_block, std::size_t input_length)

Related Functions

(Note that these are not member functions.)


md5_t::digest_t md5 (void *input_block, std::size_t input_length)

Detailed Description

Definition at line 95 of file md5.hpp.


Member Typedef Documentation

Type used to store the digest result of an MD5 hash

Definition at line 98 of file md5.hpp.


Constructor & Destructor Documentation

md5_t (  )

Member Function Documentation

Finalizes the input hash and clears the MD5 hash state information

Returns:
An MD5 digest of the input blocks specified
void update ( void *  input_block,
std::size_t  input_length 
)

Includes a block of data in the MD5 hash being performed.

Parameters:
input_blockThe block of data to be hashed
input_lengthLength in bytes of the input data

Friends And Related Function Documentation

md5_t::digest_t md5 ( void *  input_block,
std::size_t  input_length 
) [related]

Quick and dirty MD5 hash function for a single input block

Parameters:
input_blockThe block of data to be hashed
input_lengthLength in bytes of the input data
Returns:
An MD5 digest of the input block for the length specified

Definition at line 126 of file md5.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google