]> git.codecow.com Git - Monocypher.git/commitdiff
argon2i: Note that all parameters influence output
authorFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Sat, 26 Sep 2020 06:38:50 +0000 (08:38 +0200)
committerFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Sat, 26 Sep 2020 06:38:50 +0000 (08:38 +0200)
Sparked by #190.

doc/man/man3/crypto_argon2i.3monocypher

index 024832d2b8e02cf9ec08c889fde84580f55b6ac9..b5cfad6e0902fb0802147a9692f18a76484c9f15 100644 (file)
@@ -50,7 +50,7 @@
 .\" with this software.  If not, see
 .\" <https://creativecommons.org/publicdomain/zero/1.0/>
 .\"
-.Dd April 8, 2020
+.Dd September 26, 2020
 .Dt CRYPTO_ARGON2I 3MONOCYPHER
 .Os
 .Sh NAME
@@ -106,6 +106,16 @@ are:
 .Bl -tag -width Ds
 .It Fa hash
 The output hash.
+If all parameters to
+.Fn crypto_argon2i
+or
+.Fn crypto_argon2i_general
+are identical between two calls,
+then the output
+.Fa hash
+is also identical.
+In other words, all input parameters passed to the function influence
+the output value.
 .It Fa hash_size
 Length of
 .Fa hash ,