summaryrefslogtreecommitdiffstats
path: root/lib/blocks.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 /lib/blocks.go
parente2e59e7acec1ae395746805922cc28dc71fb9767 (diff)
lib/blocks: rename CipherIsECB -> CipherUsesECB
Diffstat (limited to 'lib/blocks.go')
-rw-r--r--lib/blocks.go2
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++ {