From aa0fbbce76a706f0e9bf3b4e762801377200b7c0 Mon Sep 17 00:00:00 2001 From: Adrien Beraud Date: Tue, 7 Mar 2017 22:56:51 +0100 Subject: [PATCH] infohash: use 256 bits and SHA256 --- include/opendht/infohash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/opendht/infohash.h b/include/opendht/infohash.h index ab50d5a7..48d40041 100644 --- a/include/opendht/infohash.h +++ b/include/opendht/infohash.h @@ -46,7 +46,7 @@ typedef uint16_t in_port_t; // bytes -#define HASH_LEN 20u +#define HASH_LEN 32u namespace dht {