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 d8ccc95..6121f41 100644
--- a/lib/aes.go
+++ b/lib/aes.go
@@ -7,7 +7,7 @@ func AESDecrypt(cipher, key []byte) []byte {
iter := len(cipher) / 16
// Decrypt 16 bytes at a time.
- output := make([]byte, len(cipher))
+ output := make([]byte, 0)
for i := 0; i < iter; i++ {
s := (i * 16)
e := (i * 16) + 16