MMH will return different values on big-endian and little-endian machines. More...
#include <MMH.h>
Inherits ats::CryptoContext.

| Public Member Functions | |
| MMHContext () | |
| 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 | |
| MMH_CTX | _ctx | 
MMH will return different values on big-endian and little-endian machines.
It can be adapted to return the same values at some additional cost.
Definition at line 53 of file MMH.h.
| MMHContext::MMHContext | ( | ) | 
Definition at line 462 of file MMH.cc.
References _ctx, and ink_code_incr_MMH_init().
| bool MMHContext::finalize | ( | CryptoHash & | hash | ) |  [virtual] | 
Finalize and extract the hash.
Implements ats::CryptoContext.
Definition at line 472 of file MMH.cc.
References _ctx, ink_code_incr_MMH_final(), and ats::CryptoHash::u8.
| bool MMHContext::update | ( | void const * | data, | |
| int | length | |||
| ) |  [virtual] | 
Update the hash with data of length bytes.
Implements ats::CryptoContext.
Definition at line 467 of file MMH.cc.
References _ctx, and ink_code_incr_MMH_update().
| MMH_CTX MMHContext::_ctx  [protected] | 
Definition at line 56 of file MMH.h.
Referenced by finalize(), MMHContext(), and update().
 1.7.1
 1.7.1