From c39c1d42bb82f02e1eb569d191cecbcf2b1100b0 Mon Sep 17 00:00:00 2001 From: siddharth Date: Sat, 9 Oct 2021 16:55:15 -0400 Subject: challenge: fix C28 Init sha1. --- challenge/c28.go | 1 + 1 file changed, 1 insertion(+) (limited to 'challenge') 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) -- cgit v1.2.3