mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[mod] remove python script and talk directly to openssl
This commit is contained in:
parent
886bec89ec
commit
0ef02dcce4
1 changed files with 0 additions and 10 deletions
|
@ -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()
|
Loading…
Add table
Reference in a new issue