From 5ea5ca048072eb88954f564b8c6f66634a8481ea Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Wed, 9 Dec 2020 23:49:10 -0500 Subject: lib/blocks: BlockIsECB -> CipherIsECB --- 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 0645fab..4dbd365 100644 --- a/lib/blocks.go +++ b/lib/blocks.go @@ -61,7 +61,7 @@ func BlocksEqual(a, b []byte) bool { return true } -func BlockIsECB(bs []byte) []byte { +func CipherIsECB(bs []byte) []byte { blocks := BreakIntoBlocks(bs, 16) for i := 0; i < len(blocks); i++ { -- cgit v1.2.3