Merge pull request #230 from michaelweghorn/michaelweghorn/correct_hmac_stdlib_import

Correct hmac import from Python stdlib
This commit is contained in:
Frank Morgner
2022-09-01 15:23:16 +02:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ try:
except ImportError:
# PyCrypto not available. Use the Python standard library.
from hashlib import hmac as HMAC
import hmac as HMAC
CYBERFLEX_IV = b'\x00' * 8