Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
MD5 Class Reference

MD5 hashing algorithm. More...

#include <MD5.h>

Public Member Functions

 MD5 ()
 
void Update (const u8 *data, size_t len)
 
void Final (u8 *digest)
 

Static Public Attributes

static const size_t DIGESTSIZE = 16
 

Private Member Functions

void InitState ()
 
void UpdateRest (const u8 *data, size_t len)
 
void Transform (const u32 *in)
 

Private Attributes

u32 m_Digest [4]
 
u8 m_Buf [64]
 
size_t m_BufLen
 
u64 m_InputLen
 

Detailed Description

MD5 hashing algorithm.

Note that MD5 is broken and must not be used for anything that requires security.

Constructor & Destructor Documentation

◆ MD5()

MD5::MD5 ( )

Member Function Documentation

◆ Final()

void MD5::Final ( u8 digest)

◆ InitState()

void MD5::InitState ( )
private

◆ Transform()

void MD5::Transform ( const u32 in)
private

◆ Update()

void MD5::Update ( const u8 data,
size_t  len 
)
inline

◆ UpdateRest()

void MD5::UpdateRest ( const u8 data,
size_t  len 
)
private

Member Data Documentation

◆ DIGESTSIZE

const size_t MD5::DIGESTSIZE = 16
static

◆ m_Buf

u8 MD5::m_Buf[64]
private

◆ m_BufLen

size_t MD5::m_BufLen
private

◆ m_Digest

u32 MD5::m_Digest[4]
private

◆ m_InputLen

u64 MD5::m_InputLen
private

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