Sese Framework
x.y.z
A cross-platform framework
|
MD5 算法类 更多...
#include <MD5Util.h>
Public 类型 | |
using | OutputStream = sese::io::OutputStream |
工具所用输出流 | |
using | InputStream = sese::io::InputStream |
工具所用输入流 | |
静态 Public 成员函数 | |
static void | encode (const InputStream::Ptr &input, const OutputStream::Ptr &output) noexcept |
生成 MD5 信息 | |
static void | encode (InputStream *input, OutputStream *output) noexcept |
生成 MD5 信息 | |
static std::unique_ptr< char[]> | encode (const InputStream::Ptr &input, bool is_cap=true) noexcept |
生成 32 位大写 MD5 字符串 | |
static std::unique_ptr< char[]> | encode (InputStream *input, bool is_cap=true) noexcept |
生成 32 位大写 MD5 字符串 | |
静态 Private 成员函数 | |
static void | transform (uint32_t *res, uint8_t *buffer) noexcept |
用于进行变换操作 | |
static uint32_t | F (uint32_t x, uint32_t y, uint32_t z) noexcept |
static uint32_t | G (uint32_t x, uint32_t y, uint32_t z) noexcept |
static uint32_t | H (uint32_t x, uint32_t y, uint32_t z) noexcept |
static uint32_t | I (uint32_t x, uint32_t y, uint32_t z) noexcept |
static uint32_t | FF (uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint32_t s, uint32_t t) noexcept |
static uint32_t | GG (uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint32_t s, uint32_t t) noexcept |
static uint32_t | HH (uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint32_t s, uint32_t t) noexcept |
static uint32_t | II (uint32_t a, uint32_t b, uint32_t c, uint32_t d, uint32_t x, uint32_t s, uint32_t t) noexcept |
静态 Private 属性 | |
static const uint32_t | A = 0x67452301 |
static const uint32_t | B = 0xefcdab89 |
static const uint32_t | C = 0x98badcfe |
static const uint32_t | D = 0x10325476 |
static const uint32_t | S11 = 7 |
static const uint32_t | S12 = 12 |
static const uint32_t | S13 = 17 |
static const uint32_t | S14 = 22 |
static const uint32_t | S21 = 5 |
static const uint32_t | S22 = 9 |
static const uint32_t | S23 = 14 |
static const uint32_t | S24 = 20 |
static const uint32_t | S31 = 4 |
static const uint32_t | S32 = 11 |
static const uint32_t | S33 = 16 |
static const uint32_t | S34 = 23 |
static const uint32_t | S41 = 6 |
static const uint32_t | S42 = 10 |
static const uint32_t | S43 = 15 |
static const uint32_t | S44 = 21 |
static constexpr const unsigned char | PADDING [64] = {0x80} |
MD5 算法类
工具所用输入流
工具所用输出流
|
staticnoexcept |
|
staticnoexcept |
生成 MD5 信息
input | 摘要来源 |
output | MD5 数据输出 |
引用了 encode().
被这些函数引用 sese::MessageDigest::digest() , 以及 sese::MessageDigest::digest().
|
staticnoexcept |
生成 32 位大写 MD5 字符串
input | 摘要来源 |
is_cap | 指示字符串字母是否大写 |
引用了 encode(), sese::io::AbstractByteBuffer::read() , 以及 sese::MemoryViewer::toChar().
|
staticnoexcept |
生成 MD5 信息
input | 摘要来源 |
output | MD5 数据输出 |
单位为 位
执行完本次后不再执行
单位为 位
单位为 位
引用了 ToLittleEndian64() , 以及 transform().
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
引用了 a, b, c, d , 以及 LeftRotate.
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
引用了 a, b, c, d , 以及 LeftRotate.
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
引用了 a, b, c, d , 以及 LeftRotate.
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
引用了 a, b, c, d , 以及 LeftRotate.
|
staticprivatenoexcept |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticconstexprprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |