From c106a56a415bcef201bca8c1f1454ab6fe9bdb46 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Mon, 4 Feb 2019 10:47:25 +0100 Subject: 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. --- lib/crypto/doc/src/crypto.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/crypto/doc/src') 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] + BLAKE2 + + BLAKE2 — fast secure hashing + MD5 The MD5 Message Digest Algorithm [RFC 1321] -- cgit v1.2.3 From 9aa84d39edef976250774811ac9a6e6895041c14 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Tue, 5 Feb 2019 19:24:28 +0100 Subject: Add blake2 datatype to crypto.xml --- lib/crypto/doc/src/crypto.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/crypto/doc/src') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 86fc3416f4..e0794a080e 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -239,6 +239,7 @@ + -- cgit v1.2.3