]> git.codecow.com Git - Monocypher.git/commitdiff
pw hashing: clarify that hash functions can hash
authorFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Thu, 6 Feb 2020 13:08:29 +0000 (14:08 +0100)
committerFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Thu, 6 Feb 2020 13:08:29 +0000 (14:08 +0100)
Misleading wording spotted by @aggsol as part of review of #155.

doc/man/man3/crypto_blake2b.3monocypher
doc/man/man3/optional/crypto_sha512.3monocypher

index 957692f2bc53f5698da55850615b4ab052005c72..c816b25188d958f0caa189fe545c4e630b244b47 100644 (file)
@@ -105,7 +105,7 @@ BLAKE2b is a fast cryptographically secure hash, based on the ideas of
 Chacha20.
 It is faster than MD5, yet just as secure as SHA-3.
 However, BLAKE2b itself
-.Sy is not suitable for hashing and deriving keys from passwords ;
+.Sy is not suitable for hashing passwords and deriving keys from them ;
 use the
 .Xr crypto_argon2i 3monocypher
 family of functions for that purpose instead.
index 023577404ea30c6ff6222ed0bdc93a561594e2ad..83bcea9faf7ff63715a88a2d4dfa471142029d17 100644 (file)
@@ -89,7 +89,7 @@ instead,
 as it both performs faster on x86_64 CPUs and
 lacks many of the pitfalls of SHA-512.
 However, SHA-512 itself
-.Sy is not suitable for hashing and deriving keys from passwords ;
+.Sy is not suitable for hashing passwords and deriving keys from them ;
 use the
 .Xr crypto_argon2i 3monocypher
 family of functions for that purpose instead.