diff options
Diffstat (limited to 'buildscripts/sha256sum.py')
-rw-r--r-- | buildscripts/sha256sum.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/buildscripts/sha256sum.py b/buildscripts/sha256sum.py deleted file mode 100644 index 5d48c15a788..00000000000 --- a/buildscripts/sha256sum.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python2 -""" -Computes a SHA256 sum of a file. -Accepts a file path, prints the hex encoded hash to stdout. -""" - -import sys -from hashlib import sha256 - -with open(sys.argv[1], 'rb') as f: - print(sha256(f.read()).hexdigest()) |