diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2014-02-26 03:10:59 +0100 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2014-02-26 03:10:59 +0100 |
commit | 52c2f0bc2655b77236b8146b0fdc60a6f46d539f (patch) | |
tree | a43e4b1b1cd05e18147d0799ab2b2f470b96cc6c /src | |
parent | 588ce16c2ee374a640eb974da77804d873fa9e4a (diff) |
Removed the positions of W no longer needed.
Diffstat (limited to 'src')
-rwxr-xr-x | src/model/sha256.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/sha256.py b/src/model/sha256.py index afee05e..2a56f41 100755 --- a/src/model/sha256.py +++ b/src/model/sha256.py @@ -68,7 +68,7 @@ class SHA256(): self.g = 0 self.h = 0 self.w = 0 - self.W = [0] * 64 + self.W = [0] * 16 self.k = 0 self.K = [0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, |