Skip to content

Commit 4c25f0c

Browse files
authored
Double hash size (#12)
1 parent e93dfb6 commit 4c25f0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/hash_all.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def hasher(args,my_tokenized_file,my_hashes_file):
6868
hash_object = hashlib.md5(foo.encode())
6969
hash_object_string=hash_object.hexdigest()
7070
#FIXME: this truncation should be adjusted after more full-scale testing
71-
hash_object_string_truncated=hash_object_string[0:4]
71+
#hash_object_string_truncated=hash_object_string[0:4]
72+
hash_object_string_truncated=hash_object_string[0:8]
7273
#my_hf.write(hash_object_string+"\n")
7374
my_hf.write(hash_object_string_truncated+"\n")
7475

0 commit comments

Comments
 (0)