summaryrefslogtreecommitdiffstats
path: root/challenge/c08.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-12 00:30:04 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-12 00:30:04 -0500
commitf7dacb6eb820b553e1d565e177f77ab176f18897 (patch)
treeec566eee1cef7c2ef70cb005ff27f46a324b5241 /challenge/c08.go
parente2e59e7acec1ae395746805922cc28dc71fb9767 (diff)
lib/blocks: rename CipherIsECB -> CipherUsesECB
Diffstat (limited to 'challenge/c08.go')
-rw-r--r--challenge/c08.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge/c08.go b/challenge/c08.go
index bd1a934..0d312e0 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.CipherIsECB(bs)
+ block := lib.CipherUsesECB(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")