diff options
author | default <nobody@localhost> | 2022-09-19 22:58:27 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-19 22:58:27 +0200 |
commit | 8be433c9b65fe5f214151651055700d1fea02a56 (patch) | |
tree | f10a87901d7b2fdaab66951501b0d8dfada33e00 /snac.h | |
parent | c88d4f1e152859254d28bcd6cd7ad7798f0782c4 (diff) |
New function hash_password() and check_password().
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,3 +33,6 @@ void snac_debug(snac *snac, int level, d_char *str); #define snac_log(snac, str) snac_debug(snac, 0, str) int validate_uid(char *uid); + +d_char *hash_password(char *uid, char *passwd, char *nonce); +int check_password(char *uid, char *passwd, char *hash); |