Details
GNET_SHA_HASH_LENGTH
| #define     GNET_SHA_HASH_LENGTH | 
Length of the SHA hash in bytes.
gnet_sha_new ()
| GSHA*       gnet_sha_new                    (const guint8 *buffer,
                                             guint length); | 
Create an SHA hash of the buffer.
gnet_sha_new_string ()
| GSHA*       gnet_sha_new_string             (const gchar *str); | 
Create an SHA hash from a hexidecimal string.  The string must be
 of length greater than or equal to GNET_SHA_HASH_LENGTH * 2.
gnet_sha_clone ()
| GSHA*       gnet_sha_clone                  (const GSHA *gsha); | 
Create a SHA from another one.
gnet_sha_delete ()
| void        gnet_sha_delete                 (GSHA *gsha); | 
Delete a GSHA.
gnet_sha_update ()
| void        gnet_sha_update                 (GSHA *gsha,
                                             const guchar *buffer,
                                             guint length); | 
Update the hash with buffer.  This may be called several times on
 an incremental hash before being finalized.
gnet_sha_equal ()
| gint        gnet_sha_equal                  (gconstpointer p1,
                                             gconstpointer p2); | 
Compare two GSHA's.
gnet_sha_hash ()
| guint       gnet_sha_hash                   (gconstpointer p); | 
Hash the GSHA hash value.  This is not the actual SHA hash, but a
 hash of this hash.
gnet_sha_get_digest ()
| guint8*     gnet_sha_get_digest             (const GSHA *gsha); | 
Get the SHA hash digest.
gnet_sha_get_string ()
| gchar*      gnet_sha_get_string             (const GSHA *gsha); | 
Get a hash string.
gnet_sha_copy_string ()
| void        gnet_sha_copy_string            (const GSHA *gsha,
                                             guint8 *buffer); | 
Copy the hash string into the buffer.