While default should be fine for most usage, it might be needed to be backward compatible with earlier libsodium version which used argon2i13 instead of the newer argon2id13 hash algorithm.
This PR add a fifth argument to the pwhash function that accepts default, argon2i13 and argon2id13 atoms.
While default should be fine for most usage, it might be needed to be backward compatible with earlier libsodium version which used
argon2i13
instead of the newerargon2id13
hash algorithm.This PR add a fifth argument to the
pwhash
function that acceptsdefault
,argon2i13
andargon2id13
atoms.