Increase shortened hash length to 60 bits

This commit is contained in:
RunasSudo 2018-01-20 21:46:12 +10:30
parent 816412aa93
commit 86a28cd1d8
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 1 additions and 1 deletions

View File

@ -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):