From 08fd8ad89102fc6b0a1b558c96bc8b845142dac1 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 5 Dec 2020 23:25:58 -0500 Subject: lib/aes: AESDecrypt -> AESDecryptECB --- lib/aes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/aes.go b/lib/aes.go index 47c3291..9440b52 100644 --- a/lib/aes.go +++ b/lib/aes.go @@ -19,7 +19,7 @@ func AESDecryptCBC(cipher, key, iv []byte) []byte { return output } -func AESDecrypt(cipher, key []byte) []byte { +func AESDecryptECB(cipher, key []byte) []byte { iter := len(cipher) / 16 // Decrypt 16 bytes at a time. -- cgit v1.2.3