Emx::MD5类 参考

计算MD5

#include "MD5.hpp"

Public 类型

typedef unsigned int size_type
 

Public 成员函数

 MD5 ()
 初始化MD5上下文 更多...
 
 MD5 (const std::string &text)
 使用特定数据初始化MD5上下文 更多...
 
void update (const unsigned char *buf, size_type length)
 使用新的数据更新MD5 更多...
 
void update (const char *buf, size_type length)
 使用新的数据更新MD5 更多...
 
MD5finalize ()
 生成最终MD5 更多...
 
std::string hexdigest () const
 MD5二进制数据转字符串输出 更多...
 

友元

std::ostream & operator<< (std::ostream &, MD5 md5)
 

成员类型定义说明

◆ size_type

typedef unsigned int Emx::MD5::size_type

构造及析构函数说明

◆ MD5() [1/2]

Emx::MD5::MD5 ( )

◆ MD5() [2/2]

Emx::MD5::MD5 ( const std::string &  text)

成员函数说明

◆ update() [1/2]

void Emx::MD5::update ( const unsigned char *  buf,
size_type  length 
)
参数
buf[in]数据指针
length[in]数据大小

◆ update() [2/2]

void Emx::MD5::update ( const char *  buf,
size_type  length 
)
参数
buf[in]数据指针
length[in]数据大小

◆ finalize()

MD5& Emx::MD5::finalize ( )

◆ hexdigest()

std::string Emx::MD5::hexdigest ( ) const

友元及相关函数文档

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
MD5  md5 
)
friend