#include <Crypto.h>
G3D::MD5Hash::MD5Hash |
( |
| ) |
|
|
inline |
30 for (
int i = 0; i < 16; ++i) {
uint8 value[16]
Definition: Crypto.h:25
void deserialize(class BinaryInput &b)
Definition: Crypto_md5.cpp:26
void G3D::MD5Hash::deserialize |
( |
class BinaryInput & |
b | ) |
|
27 b.readBytes(
value, 16);
uint8 value[16]
Definition: Crypto.h:25
81 for (
int i = 0; i < 4; ++i) {
83 h ^= (((
uint32)key.value[x + 0]) << 24) |
84 (((
uint32)key.value[x + 1]) << 16) |
85 (((
uint32)key.value[x + 2]) << 8) |
86 ((
uint32)key.value[x + 3]);
uint32_t uint32
Definition: Define.h:150
uint32_t uint32
Definition: g3dmath.h:168
G3D::int16 x
Definition: Vector2int16.h:37
72 return !(*
this == other);
65 for (
int i = 0; i < 16; ++i) {
66 match = match && (other.value[i] ==
value[i]);
uint8 value[16]
Definition: Crypto.h:25
uint8& G3D::MD5Hash::operator[] |
( |
int |
i | ) |
|
|
inline |
uint8 value[16]
Definition: Crypto.h:25
const uint8& G3D::MD5Hash::operator[] |
( |
int |
i | ) |
const |
|
inline |
uint8 value[16]
Definition: Crypto.h:25
void G3D::MD5Hash::rotateBytes |
( |
| ) |
|
|
inline |
Rotates the bytes once
40 for (
int i = 0; i < 15; ++i) {
uint8 value[16]
Definition: Crypto.h:25
uint8_t uint8
Definition: Define.h:152
void G3D::MD5Hash::rotateBytes |
( |
int |
n | ) |
|
|
inline |
Rotates by n bytes
50 for (
int i = 0; i < 16; ++i) {
uint8 value[16]
Definition: Crypto.h:25
static void memcpy(void *dst, const void *src, size_t numBytes)
Definition: System.cpp:643
uint8_t uint8
Definition: Define.h:152
void G3D::MD5Hash::serialize |
( |
class BinaryOutput & |
b | ) |
const |
32 b.writeBytes(
value, 16);
uint8 value[16]
Definition: Crypto.h:25
uint8 G3D::MD5Hash::value[16] |
|
private |
The documentation for this class was generated from the following files: