Increase shortened hash length to 60 bits
This commit is contained in:
parent
816412aa93
commit
86a28cd1d8
@ -85,7 +85,7 @@ class SHA256:
|
|||||||
else:
|
else:
|
||||||
b64 = self.impl.getHash('B64')
|
b64 = self.impl.getHash('B64')
|
||||||
if short:
|
if short:
|
||||||
return b64[:8]
|
return b64[:10]
|
||||||
return b64
|
return b64
|
||||||
|
|
||||||
def hash_as_hex(self):
|
def hash_as_hex(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user