Skip to content

Commit

Permalink
Include argon2id in crypto_pwhash_primitive()
Browse files Browse the repository at this point in the history
Fixes #1331
  • Loading branch information
jedisct1 committed Nov 10, 2023
1 parent 6ee5a73 commit a2b12df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsodium/include/sodium/crypto_pwhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int crypto_pwhash_str_needs_rehash(const char *str,
unsigned long long opslimit, size_t memlimit)
__attribute__ ((warn_unused_result)) __attribute__ ((nonnull));

#define crypto_pwhash_PRIMITIVE "argon2i"
#define crypto_pwhash_PRIMITIVE "argon2id,argon2i"
SODIUM_EXPORT
const char *crypto_pwhash_primitive(void)
__attribute__ ((warn_unused_result));
Expand Down

0 comments on commit a2b12df

Please sign in to comment.