varia.website/plugins/author_images/generate_hashsum.py

8 lines
136 B
Python
Executable File

#!/usr/bin/env python2
from __future__ import print_function
import hashlib
import sys
print(hashlib.sha256(sys.argv[1]).hexdigest())