Sets our main struct and passes it to the parent class.
Creates a new #GChecksum, using the checksum algorithm @checksum_type. If the @checksum_type is not known, %NULL is returned. A #GChecksum can be used to compute the checksum, or digest, of an arbitrary binary blob, using different hashing algorithms.
Copies a #GChecksum. If @checksum has been closed, by calling g_checksum_get_string() or g_checksum_get_digest(), the copied checksum will be closed as well.
Frees the memory allocated for @checksum.
Get the main Gtk struct
Gets the digest from checksum as a raw binary vector and places it into buffer. The size of the digest depends on the type of checksum.
Gets the digest as a hexadecimal string.
the main Gtk struct as a void*
Resets the state of the @checksum back to its initial state.
Feeds @data into an existing #GChecksum. The checksum must still be open, that is g_checksum_get_string() or g_checksum_get_digest() must not have been called on @checksum.
Computes the checksum for a binary @data. This is a convenience wrapper for g_checksum_new(), g_checksum_get_string() and g_checksum_free().
Computes the checksum for a binary @data of @length. This is a convenience wrapper for g_checksum_new(), g_checksum_get_string() and g_checksum_free().
Computes the checksum of a string.
Gets the length in bytes of digests of type @checksum_type
An opaque structure representing a checksumming operation. To create a new GChecksum, use g_checksum_new(). To free a GChecksum, use g_checksum_free().