]> git.codecow.com Git - Monocypher.git/commit
crypto_hmac_sha512 example overhaul
authorFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Mon, 2 Mar 2020 07:28:18 +0000 (08:28 +0100)
committerFabio Scotoni <34964387+fscoto@users.noreply.github.com>
Mon, 2 Mar 2020 07:32:28 +0000 (08:32 +0100)
commit2e2d8af7f356f3da0feec6d18d28cc615d949eef
tree7b6f0746e75bedc446ac736bdc99f297f2cdfa32
parentc686cc2aaa57a97ac2aa3329ba04ae52c3ef9ac8
crypto_hmac_sha512 example overhaul

1. Randomize the key.
2. Key for HMAC is NOT optional.
3. Give it an actual example message to authenticate.
doc/man/man3/optional/crypto_hmac_sha512.3monocypher