diff options
author | rsiddharth <s@ricketyspace.net> | 2020-11-23 22:03:30 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-11-23 22:03:30 -0500 |
commit | 4ff5d61d98a260858d15bb63727c7bfe13bfe987 (patch) | |
tree | 45ac236d2faf1fe9894a9db550123b809b49484c | |
parent | 7ba0e472e588ff36422290f3a5a841faaf221c5e (diff) |
lib: aes: fix AESDecrypt
-rw-r--r-- | lib/aes.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |