diff options
author | rsiddharth <s@ricketyspace.net> | 2020-12-05 23:25:58 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2020-12-05 23:25:58 -0500 |
commit | 08fd8ad89102fc6b0a1b558c96bc8b845142dac1 (patch) | |
tree | 2358493f67b22b6279e236d96e013ee501d26d7d /lib | |
parent | 4bc5abe6df2289008d622c4bdf2498d77bb80a35 (diff) |
lib/aes: AESDecrypt -> AESDecryptECB
Diffstat (limited to 'lib')
-rw-r--r-- | lib/aes.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |