Content Digests

This module provides digests, which are algorithms that operate over arrays of octets / bytes producing a cryptographically strong digest that can be used to represent the content. Digests functions have different levels of strength. Digests can be used to generating keys for hashes and identifiers based on content.

Digest Class

Table of Contents
librdf_digest_register_factory --  Register a hash factory
librdf_get_digest_factory --  get a digest factory
librdf_new_digest --  Constructor - create a new librdf_digest object
librdf_new_digest_from_factory --  Constructor - create a new librdf_digest object
librdf_free_digest --  Destructor- destroy a librdf_digest object
librdf_digest_init --  (Re)initialise the librdf_digest object
librdf_digest_update --  Add more data to the librdf_digest object
librdf_digest_update_string --  Add a string to the librdf_digest object
librdf_digest_final --  Finish the digesting of data
librdf_digest_get_digest --  Get the calculated digested value.
librdf_digest_get_digest_length --  Get length of the calculated digested
librdf_digest_to_string --  Get a string representation of the digest object
librdf_digest_print --  Print the digest to a FILE handle
librdf_init_digest --  INTERNAL - Initialise the librdf_digest class
librdf_finish_digest --  INTERNAL - Terminate the librdf_digest class