Public Member Functions | Protected Attributes

MD5Context Class Reference

#include <INK_MD5.h>

Inherits ats::CryptoContext.

Collaboration diagram for MD5Context:
Collaboration graph
[legend]

Public Member Functions

 MD5Context ()
virtual bool update (void const *data, int length)
 Update the hash with data of length bytes.
virtual bool finalize (CryptoHash &hash)
 Finalize and extract the hash.

Protected Attributes

MD5_CTX _ctx

Detailed Description

Definition at line 31 of file INK_MD5.h.


Constructor & Destructor Documentation

MD5Context::MD5Context (  ) 

Definition at line 33 of file ink_code.cc.

References _ctx.


Member Function Documentation

bool MD5Context::finalize ( CryptoHash hash  )  [virtual]

Finalize and extract the hash.

Implements ats::CryptoContext.

Definition at line 43 of file ink_code.cc.

References _ctx, and ats::CryptoHash::u8.

Referenced by url_host_MD5_get().

bool MD5Context::update ( void const *  data,
int  length 
) [virtual]

Update the hash with data of length bytes.

Implements ats::CryptoContext.

Definition at line 38 of file ink_code.cc.

References _ctx.

Referenced by url_host_MD5_get().


Field Documentation

MD5_CTX MD5Context::_ctx [protected]

Definition at line 33 of file INK_MD5.h.

Referenced by finalize(), MD5Context(), and update().


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