class EE::System::MD5

Overview

#include <md5.hpp>

class MD5 {
public:
    // structs

    struct Context;
    struct Result;

    // methods

    static Result fromStream(IOStream& stream);
    static Result fromFile(std::string path);
    static Result fromMemory(const Uint8* data, Uint64 size);
    static Result fromString(const std::string& str);
    static Result fromString(const String& str);
};

Detailed Documentation

Methods

static Result fromStream(IOStream& stream)

Returns:

Calculates the md5 hash from a stream

static Result fromFile(std::string path)

Calculates the md5 hash from a file

static Result fromMemory(const Uint8* data, Uint64 size)

Calculates the md5 hash from memory

static Result fromString(const std::string& str)

Calculates the md5 hash from a string

static Result fromString(const String& str)

Calculates the md5 hash from a string