I'm trying to perform a hash update with updated parameters using argon2. According to Argon spec v3 (2.2.3 Client-indepentend Update
, p. 9) the client independent update is executed as follows:
$$ Tag_{new} = \Pi(Tag_{old},S,m_{new},R_{new},\tau_{new}) $$
I'm assuming $\Pi$ to be our hash fn Argon2i/Argon2d (as used in 2.4.4 Security of Argon2 to generic attacks
, p. 15) and $R_{new}$ the parallelism param.
Now, using the online tool https://argon2.online/ , I performed the following attempt:
- input
asdf
as plain text input - input
salt11chars
as salt - leave params as default (mode=argon2i, parallelism=1, $m=16, $$t=2$, $\tau=16$)
- calculate hash
- input calculated hash as plain text input
- increase parallelism by 1
- calculate hash
- verify if
asdf
matches the hash
$\rightarrow$ verification fails
So why is that and what am I doing wrong here? Thanks in advance.