From 52c2f0bc2655b77236b8146b0fdc60a6f46d539f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Wed, 26 Feb 2014 03:10:59 +0100 Subject: Removed the positions of W no longer needed. --- src/model/sha256.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3