Function

AgsFilestr2md5

since: 3.0.0

Declaration [src]

gchar*
ags_file_str2md5 (
  gchar* content,
  guint content_length
)

Description [src]

Compute MD5 sums of a buffer.

Available since: 3.0.0

Parameters

content

Type: gchar*

The string buffer.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
content_length

Type: guint

The length of the string.

Return value

Type: gchar*

The md5 checksum.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.