[mod] remove python script and talk directly to openssl

This commit is contained in:
Laurent Peuch 2017-05-15 20:57:23 +02:00 committed by Weblate
parent 886bec89ec
commit 0ef02dcce4

View file

@ -1,10 +0,0 @@
import sys
import hashlib
import hmac
key = sys.argv[1]
message = sys.argv[2]
result = hmac.new(key, digestmod=hashlib.sha512)
result.update(message)
print result.hexdigest()