aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/doc
diff options
context:
space:
mode:
authorHans Svensson <[email protected]>2019-02-04 10:47:25 +0100
committerHans Svensson <[email protected]>2019-02-04 12:03:56 +0100
commitc106a56a415bcef201bca8c1f1454ab6fe9bdb46 (patch)
treea05d8edd3caca82a7c92d92dd404919519b157af /lib/crypto/doc
parent4bdbb313f621d54038a9c17c6d9895650d539eab (diff)
downloadotp-c106a56a415bcef201bca8c1f1454ab6fe9bdb46.tar.gz
otp-c106a56a415bcef201bca8c1f1454ab6fe9bdb46.tar.bz2
otp-c106a56a415bcef201bca8c1f1454ab6fe9bdb46.zip
Add hash function BLAKE2 to crypto:hash/hmac
Adds two hash functions blake2b and blake2s (64 bit hash and 32 bit hash respectively). These are modern and standard hash functions used in blockchains and encrypted communication protocols (e.g. Noise - http://www.noiseprotocol.org/). The hash functions are available in OpenSSL since version 1.1.1. Also add test cases and mention in documentation.
Diffstat (limited to 'lib/crypto/doc')
-rw-r--r--lib/crypto/doc/src/crypto.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 3306fe3d16..86fc3416f4 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -44,6 +44,10 @@
SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions [FIPS PUB 202]
</url>
</item>
+ <tag>BLAKE2</tag>
+ <item>
+ <url href="https://blake2.net/">BLAKE2 — fast secure hashing</url>
+ </item>
<tag>MD5</tag>
<item>
<url href="http://www.ietf.org/rfc/rfc1321.txt">The MD5 Message Digest Algorithm [RFC 1321]</url>