libsodium
has changed the default algorithm fromargon2i
to the saferargon2id
. This also means the parameter constants will have changed since they now are in adjusted toargon2id
. Upgrading will still verify passwords forargon2i
, but returnsVALID_NEEDS_REHASH
- The enums
INVALID_UNRECOGNIZED_HASH
,INVALID
,VALID
andVALID_NEEDS_REHASH
are nowSymbol
s to avoid bugs stemming form invalid checks.