SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
md5.h File Reference

Go to the source code of this file.

Classes

class  TMd5Sig

Typedefs

typedef TB1Def::TB1 uint1
typedef TVec< TMd5SigTMd5SigV

Functions

void Init ()
void Transform (uint1 *buffer)
static void Encode (uint1 *Dst, uint4 *Src, uint4 Len)
static void Decode (uint4 *Dst, uint1 *Src, uint4 Len)
static void MemCpy (uint1 *Dst, uint1 *Src, uint4 Len)
static void MemSet (uint1 *Start, uint1 Val, uint4 Len)
static uint4 RotateLeft (uint4 x, uint4 n)
static uint4 F (uint4 x, uint4 y, uint4 z)
static uint4 G (uint4 x, uint4 y, uint4 z)
static uint4 H (uint4 x, uint4 y, uint4 z)
static uint4 I (uint4 x, uint4 y, uint4 z)
static void FF (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static void GG (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static void HH (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
static void II (uint4 &a, uint4 b, uint4 c, uint4 d, uint4 x, uint4 s, uint4 ac)
 UndefCopyAssign (TMd5)
 TMd5 ()
static PMd5 New ()
 TMd5 (const PSIn &SIn)
static PMd5 New (const PSIn &SIn)
 TMd5 (TSIn &)
static PMd5 Load (TSIn &SIn)
void Save (TSOut &)
void Add (uchar *InBf, const int &InBfL)
void Add (const PSIn &SIn)
void Def ()
void GetSigMem (TMem &Mem) const
TStr GetSigStr () const
static TStr GetMd5SigStr (const PSIn &SIn)
static TStr GetMd5SigStr (const TStr &Str)
static TStr GetMd5SigStr (const TMem &Mem)
static bool Check ()

Variables

ClassTP(TMd5, PMd5) private
typedef TB2Def::TB2 
uint2
uint4 state [4]
uint4 count [2]
uint1 buffer [64]
uint1 Sig [16]
bool DefP

Typedef Documentation

typedef TVec<TMd5Sig> TMd5SigV
typedef TB1Def::TB1 uint1

Function Documentation

void Add ( uchar InBf,
const int &  InBfL 
)
void Add ( const PSIn SIn)
static bool Check ( ) [static]
void TMd5::Decode ( uint4 *  Dst,
uint1 Src,
uint4  Len 
) [static]
void TMom::Def ( )
void TMd5::Encode ( uint1 Dst,
uint4 *  Src,
uint4  Len 
) [static]
static uint4 F ( uint4  x,
uint4  y,
uint4  z 
) [static]
static void FF ( uint4 &  a,
uint4  b,
uint4  c,
uint4  d,
uint4  x,
uint4  s,
uint4  ac 
) [static]
static uint4 G ( uint4  x,
uint4  y,
uint4  z 
) [static]
static TStr GetMd5SigStr ( const PSIn SIn) [static]
static TStr GetMd5SigStr ( const TStr Str) [static]
static TStr GetMd5SigStr ( const TMem Mem) [static]
void TMd5::GetSigMem ( TMem Mem) const
TStr TMd5::GetSigStr ( ) const
static void GG ( uint4 &  a,
uint4  b,
uint4  c,
uint4  d,
uint4  x,
uint4  s,
uint4  ac 
) [static]
static uint4 H ( uint4  x,
uint4  y,
uint4  z 
) [static]
static void HH ( uint4 &  a,
uint4  b,
uint4  c,
uint4  d,
uint4  x,
uint4  s,
uint4  ac 
) [static]
static uint4 I ( uint4  x,
uint4  y,
uint4  z 
) [static]
static void II ( uint4 &  a,
uint4  b,
uint4  c,
uint4  d,
uint4  x,
uint4  s,
uint4  ac 
) [static]
void Init ( )
static PMd5 Load ( TSIn SIn) [static]
static void MemCpy ( uint1 Dst,
uint1 Src,
uint4  Len 
) [static]
static void MemSet ( uint1 Start,
uint1  Val,
uint4  Len 
) [static]
static PMd5 New ( ) [static]
static PMd5 New ( const PSIn SIn) [static]
static uint4 RotateLeft ( uint4  x,
uint4  n 
) [static]
void Save ( TSOut )
TMd5 ( )
TMd5 ( const PSIn SIn)
TMd5 ( TSIn )
void Transform ( uint1 buffer)

Variable Documentation

uint4 count[2]
bool DefP
uint1 Sig[16]
uint4 state[4]
ClassTP (TMd5, PMd5) private typedef TB2Def::TB2 uint2