mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -145,6 +145,9 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp);
|
||||
/* ast_md5_hash
|
||||
\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);
|
||||
|
Reference in New Issue
Block a user