From 1d59bcf50aa69fe93fb69e9d79ea4f5c15056148 Mon Sep 17 00:00:00 2001 From: akwizgran Date: Mon, 20 Apr 2015 09:26:35 +0000 Subject: [PATCH] --- BSP.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BSP.markdown b/BSP.markdown index 601a91b..ac04fe9 100644 --- a/BSP.markdown +++ b/BSP.markdown @@ -14,6 +14,8 @@ BSP uses a cryptographic hash function, H(m), with an output length of HASH_LEN * `HASH(x_1, ..., x_n) == H(len(x_1) || x_1 || ... || len(x_n) || x_n)` +> Implementation note: We propose to use BLAKE2s as the hash function, which gives HASH_LEN = 32. + ### Channel identifiers Each channel has a unique identifier HASH_LEN bytes long. This identifier is supplied by the client and is not interpreted by BSP, but to prevent collisions between clients, BSP specifies how channel identifiers may be generated. The channel identifier may be random: