varia.website/plugins/author_images/generate_hashsum.py

8 lines
136 B
Python
Raw Normal View History

2018-02-01 14:46:15 +01:00
#!/usr/bin/env python2
from __future__ import print_function
import hashlib
import sys
print(hashlib.sha256(sys.argv[1]).hexdigest())