This wiki is archived and useful information is being migrated to the main bzflag.org website
Editing Bz MD5
Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.
The administrator who locked it offered this explanation: Archived wiki
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{BZFS_API_Doc}}{{BZFS_API_Funcs}} | {{BZFS_API_Doc}}{{BZFS_API_Funcs}} | ||
− | == | + | ==Syntax== |
− | + | const char *bz_MD5(const char* str); | |
− | + | const char *bz_MD5(const void* data, size_t size); | |
==Parameters== | ==Parameters== | ||
− | ; | + | ; str : A pointer to a null terminated string to use as the MD5 source. |
− | ; | + | ; data : A pointer to raw unterminated data to use as the MD5 source. |
− | ; | + | ; size : The size of the raw data. |
==Returns== | ==Returns== | ||
− | The 32-character lowercase | + | The 32-character lowercase hexedecmial (ASCII) representation of the MD5 hash. |
==Description== | ==Description== | ||
This function uses the same MD5 logic as BZFS. | This function uses the same MD5 logic as BZFS. | ||
− | |||
− | |||
− |