diff --git a/komrade/utils.py b/komrade/utils.py index 156017c..d689e8d 100644 --- a/komrade/utils.py +++ b/komrade/utils.py @@ -51,7 +51,9 @@ def isBase64(sb): - +def hashish(binary_data): + import hashlib + return hashlib.sha256(binary_data).hexdigest()