bz MD5

From BZFlagWiki
Jump to: navigation, search
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.
BZFS API Function. This page documents a BZFS_API Function, that is provided by the BZFS game server for plug-ins to call.


BZF_API const char *bz_MD5(const char* str);

BZF_API const char *bz_MD5(const void* data, size_t size);


const char* str 
A pointer to a null terminated string to use as the MD5 source.
const char* data 
A pointer to raw unterminated data to use as the MD5 source.
size_t size 
The size of the raw data.


The 32-character lowercase hexadecimal (ASCII) representation of the MD5 hash.


This function uses the same MD5 logic as BZFS.


Requires BZFS 2.99.4 (20080524, r17281) or later