diff options
author | rsiddharth <s@ricketyspace.net> | 2020-12-12 00:30:04 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-12-12 00:30:04 -0500 |
commit | f7dacb6eb820b553e1d565e177f77ab176f18897 (patch) | |
tree | ec566eee1cef7c2ef70cb005ff27f46a324b5241 /challenge/c11.go | |
parent | e2e59e7acec1ae395746805922cc28dc71fb9767 (diff) |
lib/blocks: rename CipherIsECB -> CipherUsesECB
Diffstat (limited to 'challenge/c11.go')
-rw-r--r-- | challenge/c11.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge/c11.go b/challenge/c11.go index 5836758..e91d60b 100644 --- a/challenge/c11.go +++ b/challenge/c11.go @@ -14,7 +14,7 @@ func C11() { for i := 0; i < 10; i++ { o := lib.OracleAESRandomEncrypt(p) - if lib.CipherIsECB(o) != nil { + if lib.CipherUsesECB(o) != nil { fmt.Printf("%d -> Enciphered with ECB: %v (%d)\n", i, o, len(o)) } else { fmt.Printf("%d -> Enciphered with CBC: %v (%d)\n", i, o, len(o)) |