summaryrefslogtreecommitdiffstats
path: root/lib/aes.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/aes.go')
-rw-r--r--lib/aes.go2
1 files changed, 1 insertions, 1 deletions
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.