summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-09 23:49:10 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-09 23:49:10 -0500
commit5ea5ca048072eb88954f564b8c6f66634a8481ea (patch)
treef25f875469334716dc836ea1ea6960f69036202e /lib
parent620f53145792f038bfee9bd40a7b9a971ca0f287 (diff)
lib/blocks: BlockIsECB -> CipherIsECB
Diffstat (limited to 'lib')
-rw-r--r--lib/blocks.go2
1 files changed, 1 insertions, 1 deletions
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++ {