Added new ndpi_string_sha1_hash API call

This commit is contained in:
Luca Deri
2020-08-05 21:45:38 +02:00
parent d3fb1fb25a
commit 5b6ffad278
2 changed files with 8 additions and 3 deletions
+2
View File
@@ -904,6 +904,8 @@ extern "C" {
const u_int8_t *src, u_int src_len);
u_char* ndpi_base64_decode(const u_char *src, size_t len, size_t *out_len);
char* ndpi_base64_encode(unsigned char const* bytes_to_encode, size_t in_len);
void ndpi_string_sha1_hash(const uint8_t *message, size_t len, u_char *hash /* 20-bytes */);
int ndpi_load_ipv4_ptree(struct ndpi_detection_module_struct *ndpi_str,
const char *path, u_int16_t protocol_id);
int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct,