silc_hash_fingerprint

SYNOPSIS

    char *silc_hash_fingerprint(SilcHash hash, const unsigned char *data,
                                SilcUInt32 data_len);

DESCRIPTION

Utility function which can be used to create a textual fingerprint out of the data indicated by `data' of length of `data_len' bytes. If `hash' is NULL then SHA1 hash function is used automatically. The caller must free the returned string.

Example output could be:

      41BF 5C2E 4149 039A 3917  831F 65C4 0A69 F98B 0A4D