We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62106bd commit de9da8eCopy full SHA for de9da8e
suds/wsse.py
@@ -27,7 +27,7 @@
27
from hashlib import sha256
28
except ImportError:
29
# Python 2.4 compatibility
30
- from md5 import md5 as sha56
+ from md5 import md5 as sha256
31
32
33
@@ -140,7 +140,7 @@ def setnonce(self, text=None):
140
s.append(self.username)
141
s.append(self.password)
142
s.append(Token.sysdate())
143
- m = sha56()
+ m = sha256()
144
m.update(':'.join(s).encode("utf-8"))
145
self.nonce = m.hexdigest()
146
else:
0 commit comments