summaryrefslogtreecommitdiffstats
path: root/challenge/c28.go
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-10-09 16:55:15 -0400
committersiddharth <s@ricketyspace.net>2021-10-09 16:55:15 -0400
commitc39c1d42bb82f02e1eb569d191cecbcf2b1100b0 (patch)
treeda983555fa1b2493fdfeb05dc1d437b3e1324949 /challenge/c28.go
parentc55b79d72f7e2520e1f4bebd5877bbfa927feab7 (diff)
challenge: fix C28
Init sha1.
Diffstat (limited to 'challenge/c28.go')
-rw-r--r--challenge/c28.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/challenge/c28.go b/challenge/c28.go
index a54be26..094f2a4 100644
--- a/challenge/c28.go
+++ b/challenge/c28.go
@@ -37,6 +37,7 @@ Yeah I'm pushin' away, pushin' away`)
// Init SHA1
sha1 := lib.Sha1{}
+ sha1.Init([]uint32{})
// Generate SHA1 MAC.
mac := sha1.Mac(sec, msg)