diff options
Diffstat (limited to 'include/asterisk/utils.h')
-rw-r--r-- | include/asterisk/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h index 0f1df4003..dce96f405 100644 --- a/include/asterisk/utils.h +++ b/include/asterisk/utils.h @@ -144,6 +144,10 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp); \brief Produces MD5 hash based on input string */ void ast_md5_hash(char *output, char *input); +/* ast_sha1_hash + \brief Produces SHA1 hash based on input string */ +void ast_sha1_hash(char *output, char *input); + int ast_base64encode(char *dst, const unsigned char *src, int srclen, int max); int ast_base64decode(unsigned char *dst, const char *src, int max); |