GMimeFilterMd5

## GMimeFilterMd5 GMimeFilterMd5 — Calculate an md5sum |

## Synopsis

    struct              GMimeFilterMd5;
    GMimeFilter *       g_mime_filter_md5_new               (void);
    void                g_mime_filter_md5_get_digest        (GMimeFilterMd5 *md5,
                                                             unsigned char digest[16]);

## Description

Calculate an md5sum for a stream.

## Details

### struct GMimeFilterMd5

    struct GMimeFilterMd5 {
    	GMimeFilter parent_object;

    	struct _GMimeFilterMd5Private *priv;
    };

A filter for calculating the MD5 checksum of a stream.

GMimeFilter `parent_object`; | parent GMimeFilter
struct _GMimeFilterMd5Private *`priv`; | private state data

### g_mime_filter_md5_new ()

    GMimeFilter *       g_mime_filter_md5_new               (void);

Creates a new Md5 filter.

Returns : | a new Md5 filter.

### g_mime_filter_md5_get_digest ()

    void                g_mime_filter_md5_get_digest        (GMimeFilterMd5 *md5,
                                                             unsigned char digest[16]);

Outputs the md5 digest into `digest`.

`md5` : | md5 filter object
`digest` : | output buffer of at least 16 bytes

## See Also

GMimeFilter