summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-05 20:43:10 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-05 20:43:10 -0500
commit4bc5abe6df2289008d622c4bdf2498d77bb80a35 (patch)
tree8cfeecd76c6ae3c977dbb240f43f5247181deaf1
parent71917e828eb220f0318d043e8f79c2f4c5c8290d (diff)
challenge: c10: specify data type for NIST SP 800-38A vars
-rw-r--r--challenge/c10.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/challenge/c10.go b/challenge/c10.go
index e0af8b5..e4fa209 100644
--- a/challenge/c10.go
+++ b/challenge/c10.go
@@ -8,14 +8,14 @@ import (
"ricketyspace.net/cryptopals/lib"
)
-var cipher80038A = lib.HexStrToBytes("7649abac8119b246cee98e9b12e9197d" +
+var cipher80038A []byte = lib.HexStrToBytes("7649abac8119b246cee98e9b12e9197d" +
"5086cb9b507219ee95db113a917678b2" +
"73bed6b8e3c1743b7116e69e22229516" +
"3ff1caa1681fac09120eca307586e1a7")
-var key80038A = lib.HexStrToBytes("2b7e151628aed2a6abf7158809cf4f3c")
+var key80038A []byte = lib.HexStrToBytes("2b7e151628aed2a6abf7158809cf4f3c")
-var iv80038A = lib.HexStrToBytes("000102030405060708090a0b0c0d0e0f")
+var iv80038A []byte = lib.HexStrToBytes("000102030405060708090a0b0c0d0e0f")
var cipher10 []byte = lib.Base64ToBytes(`CRIwqt4+szDbqkNY+I0qbNXPg1XLaCM5etQ5Bt9DRFV/xIN2k8Go7jtArLIy
P605b071DL8C+FPYSHOXPkMMMFPAKm+Nsu0nCBMQVt9mlluHbVE/yl6VaBCj