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 /lib/blocks.go | |
parent | e2e59e7acec1ae395746805922cc28dc71fb9767 (diff) |
lib/blocks: rename CipherIsECB -> CipherUsesECB
Diffstat (limited to 'lib/blocks.go')
-rw-r--r-- | lib/blocks.go | 2 |
1 files changed, 1 insertions, 1 deletions
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++ { |