Skip to content

Commit 09a869e

Browse files
Merge pull request #64 from viktormalik/sha265
Use SHA-256 for program hash in witnesses
2 parents 486eda9 + 79260d4 commit 09a869e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool-wrapper.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ process_graphml()
100100
<data key=\"producer\">$(echo $TOOL_NAME)<\/data>
101101
<data key=\"specification\">$(<$PROP_FILE)<\/data>
102102
<data key=\"programfile\">$(echo ${BM[0]} | sed 's8/8\\/8g')<\/data>
103-
<data key=\"programhash\">$(sha1sum ${BM[0]} | awk '{print $1}')<\/data>
103+
<data key=\"programhash\">$(sha256sum ${BM[0]} | awk '{print $1}')<\/data>
104104
<data key=\"architecture\">${BIT_WIDTH}bit<\/data>
105105
<data key=\"creationtime\">$(date -Iseconds)<\/data>\\Q/"
106106
fi

0 commit comments

Comments
 (0)