#include <INK_MD5.h>
Inherits ats::CryptoContext.
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 |
Definition at line 31 of file INK_MD5.h.
MD5Context::MD5Context | ( | ) |
Definition at line 33 of file ink_code.cc.
References _ctx.
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().
MD5_CTX MD5Context::_ctx [protected] |
Definition at line 33 of file INK_MD5.h.
Referenced by finalize(), MD5Context(), and update().