mirror of
https://github.com/PurpleI2P/pyseeder
synced 2025-03-13 05:41:23 +00:00
[fix] add backend call for SHA512
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
7947f42598
commit
d26286b812
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user