diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-10-27 11:03:03 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-11-02 14:06:14 +0100 |
commit | d0ea801724707c50517651955d6659e45d236f14 (patch) | |
tree | e8ed7961b8f173b8dfc84025c362cb5ebcf4f249 /src/core/wee-string.h | |
parent | 172736989a9f679b1a8a734bedd6cb35d31c8370 (diff) | |
download | weechat-d0ea801724707c50517651955d6659e45d236f14.zip |
core: add support of TOTP generation/validation (Time-based One-Time Password)
Diffstat (limited to 'src/core/wee-string.h')
-rw-r--r-- | src/core/wee-string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-string.h b/src/core/wee-string.h index 605aa1598..7e33352c8 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -107,6 +107,8 @@ extern int string_fprintf (FILE *file, const char *data, ...); extern char *string_format_size (unsigned long long size); extern void string_encode_base16 (const char *from, int length, char *to); extern int string_decode_base16 (const char *from, char *to); +extern int string_encode_base32 (const char *from, int length, char *to); +extern int string_decode_base32 (const char *from, char *to); extern void string_encode_base64 (const char *from, int length, char *to); extern int string_decode_base64 (const char *from, char *to); extern char *string_hex_dump (const char *data, int data_size, |