From 86a28cd1d8a605bf9d96da01ea8034559449b4cb Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sat, 20 Jan 2018 21:46:12 +1030 Subject: [PATCH] Increase shortened hash length to 60 bits --- eos/core/hashing/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/core/hashing/__init__.py b/eos/core/hashing/__init__.py index b7b47ce..0171499 100644 --- a/eos/core/hashing/__init__.py +++ b/eos/core/hashing/__init__.py @@ -85,7 +85,7 @@ class SHA256: else: b64 = self.impl.getHash('B64') if short: - return b64[:8] + return b64[:10] return b64 def hash_as_hex(self):