libtorrent::hasher Class Reference

#include <hasher.hpp>

List of all members.

Public Member Functions

 hasher ()
 hasher (const char *data, int len)
void update (const char *data, int len)
sha1_hash final ()
void reset ()

Private Attributes

SHA1_CTX m_context


Detailed Description

Definition at line 83 of file hasher.hpp.


Constructor & Destructor Documentation

libtorrent::hasher::hasher (  )  [inline]

Definition at line 87 of file hasher.hpp.

References m_context, and SHA1Init().

libtorrent::hasher::hasher ( const char *  data,
int  len 
) [inline]

Definition at line 88 of file hasher.hpp.

References m_context, SHA1Init(), and SHA1Update().


Member Function Documentation

void libtorrent::hasher::update ( const char *  data,
int  len 
) [inline]

sha1_hash libtorrent::hasher::final (  )  [inline]

void libtorrent::hasher::reset (  )  [inline]

Definition at line 109 of file hasher.hpp.

References m_context, and SHA1Init().


Member Data Documentation

Definition at line 113 of file hasher.hpp.

Referenced by final(), hasher(), reset(), and update().


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

Generated on Sun May 25 00:21:41 2008 by  doxygen 1.5.6