mirror of
https://github.com/PurpleI2P/pyseeder.git
synced 2024-12-06 19:26:16 +01:00
[fix] add backend call for SHA512
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ def get_signature(contents, priv_key, priv_key_password=None):
|
||||
)
|
||||
)
|
||||
|
||||
digest = hashes.Hash(hashes.SHA512())
|
||||
digest = hashes.Hash(hashes.SHA512(), default_backend())
|
||||
digest.update(contents)
|
||||
h = digest.finalize()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user