Skip to content

Commit

Permalink
Double hash size (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcutler authored Jul 30, 2018
1 parent e93dfb6 commit 4c25f0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/hash_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def hasher(args,my_tokenized_file,my_hashes_file):
hash_object = hashlib.md5(foo.encode())
hash_object_string=hash_object.hexdigest()
#FIXME: this truncation should be adjusted after more full-scale testing
hash_object_string_truncated=hash_object_string[0:4]
#hash_object_string_truncated=hash_object_string[0:4]
hash_object_string_truncated=hash_object_string[0:8]
#my_hf.write(hash_object_string+"\n")
my_hf.write(hash_object_string_truncated+"\n")

Expand Down

0 comments on commit 4c25f0c

Please sign in to comment.