summaryrefslogtreecommitdiffstats
path: root/challenge
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-09 23:49:10 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-09 23:49:10 -0500
commit5ea5ca048072eb88954f564b8c6f66634a8481ea (patch)
treef25f875469334716dc836ea1ea6960f69036202e /challenge
parent620f53145792f038bfee9bd40a7b9a971ca0f287 (diff)
lib/blocks: BlockIsECB -> CipherIsECB
Diffstat (limited to 'challenge')
-rw-r--r--challenge/c08.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge/c08.go b/challenge/c08.go
index 1f43b45..bd1a934 100644
--- a/challenge/c08.go
+++ b/challenge/c08.go
@@ -12,7 +12,7 @@ func C8() {
for i := 0; i < len(c08); i++ {
bs := lib.HexStrToBytes(c08[i])
- block := lib.BlockIsECB(bs)
+ block := lib.CipherIsECB(bs)
if block != nil {
fmt.Printf("Cipher at line %d (%s)", i+1, c08[i])
fmt.Printf(" might be AES encrypted in ECB mode.\n")