mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
parent
2cbadc88ab
commit
7046fdcdc8
|
@ -118,13 +118,13 @@ class SHA1Hash:
|
|||
c,
|
||||
d,
|
||||
)
|
||||
self.h = (
|
||||
self.h[0] + a & 0xFFFFFFFF,
|
||||
self.h[1] + b & 0xFFFFFFFF,
|
||||
self.h[2] + c & 0xFFFFFFFF,
|
||||
self.h[3] + d & 0xFFFFFFFF,
|
||||
self.h[4] + e & 0xFFFFFFFF,
|
||||
)
|
||||
self.h = (
|
||||
self.h[0] + a & 0xFFFFFFFF,
|
||||
self.h[1] + b & 0xFFFFFFFF,
|
||||
self.h[2] + c & 0xFFFFFFFF,
|
||||
self.h[3] + d & 0xFFFFFFFF,
|
||||
self.h[4] + e & 0xFFFFFFFF,
|
||||
)
|
||||
return "%08x%08x%08x%08x%08x" % tuple(self.h)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user