libwget-hash(3) | wget2 | libwget-hash(3) |
libwget-hash - Hash convenience functions
file hashfile.c
Hashing functions.
void wget_hash_printf_hex (wget_digest_algorithm_t
algorithm, char *out, size_t outsize, const char *fmt,...)
enum wget_digest_algorithm_t { WGET_DIGTYPE_UNKNOWN = 0,
WGET_DIGTYPE_MD5, WGET_DIGTYPE_SHA1,
WGET_DIGTYPE_RMD160, WGET_DIGTYPE_MD2,
WGET_DIGTYPE_SHA256, WGET_DIGTYPE_SHA384,
WGET_DIGTYPE_SHA512, WGET_DIGTYPE_SHA224,
WGET_DIGTYPE_MAX }
Enumeration of different hash digest algorithms. typedef struct
_wget_hash_hd_st wget_hash_hd_t
Type for hash / digest routines.
Provides Hash helper functions
Enumeration of different hash digest algorithms.
Enumerator
Parameters
Calculate the hash from the string generated via the printf-style fmt and the following arguments and place it as hexadecimal string into out.
The ideal length of out would be wget_hash_get_len(type) * 2 + 1.
Generated automatically by Doxygen for wget2 from the source code.
Tue Jan 26 2021 | Version 1.99.1 |