Closed
Description
hello all,
I have a problem when using 'import hmac' and I try to use it on my esp32
-
before using it, I install it and it installs correctly, the code is the following:
import upip
upip.install ("hmac") -
the code is the following to use hmac:
digest = hmac.new (s.decode ("base64"), a, hashlib.sha3_256) .digest () -
the error that prints to me on my console:
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'module' object has no attribute 'new'
How can I use the new or remove this error?
I would appreciate the help
Metadata
Metadata
Assignees
Labels
No labels