From f7dacb6eb820b553e1d565e177f77ab176f18897 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 12 Dec 2020 00:30:04 -0500 Subject: lib/blocks: rename CipherIsECB -> CipherUsesECB --- lib/blocks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/blocks.go b/lib/blocks.go index 4dbd365..a82feb2 100644 --- a/lib/blocks.go +++ b/lib/blocks.go @@ -61,7 +61,7 @@ func BlocksEqual(a, b []byte) bool { return true } -func CipherIsECB(bs []byte) []byte { +func CipherUsesECB(bs []byte) []byte { blocks := BreakIntoBlocks(bs, 16) for i := 0; i < len(blocks); i++ { -- cgit v1.2.3