Explain why pwhash parameters must be stored
This commit is contained in:
parent
93c386cb6c
commit
2a9c81b5c4
@ -97,6 +97,8 @@ size_t crypto_pwhash_memlimit_sensitive(void);
|
|||||||
/*
|
/*
|
||||||
* With this function, do not forget to store all parameters, including the
|
* With this function, do not forget to store all parameters, including the
|
||||||
* algorithm identifier in order to produce deterministic output.
|
* algorithm identifier in order to produce deterministic output.
|
||||||
|
* The crypto_pwhash_* definitions, including crypto_pwhash_ALG_DEFAULT,
|
||||||
|
* may change.
|
||||||
*/
|
*/
|
||||||
SODIUM_EXPORT
|
SODIUM_EXPORT
|
||||||
int crypto_pwhash(unsigned char * const out, unsigned long long outlen,
|
int crypto_pwhash(unsigned char * const out, unsigned long long outlen,
|
||||||
|
Loading…
Reference in New Issue
Block a user