digest_maker = hmac.new('secret-shared-key-goes-here') showing error

Viewed 16
Traceback (most recent call last):
  File "C:/Users/Raut/OneDrive/Desktop/crypto/ehmc.py", line 1, in <module>
    import hmac
  File "C:\Users/Raut/OneDrive/Desktop/crypto\hmac.py", line 3, in <module>
    digest_maker = hmac.new(b'28_rigved')
AttributeError: partially initialized module 'hmac' has no attribute 'new' (most likely due to a circular import)
0 Answers
Related