summaryrefslogtreecommitdiffstats
path: root/challenge/c07.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-12-05 23:25:58 -0500
committerrsiddharth <s@ricketyspace.net>2020-12-05 23:25:58 -0500
commit08fd8ad89102fc6b0a1b558c96bc8b845142dac1 (patch)
tree2358493f67b22b6279e236d96e013ee501d26d7d /challenge/c07.go
parent4bc5abe6df2289008d622c4bdf2498d77bb80a35 (diff)
lib/aes: AESDecrypt -> AESDecryptECB
Diffstat (limited to 'challenge/c07.go')
-rw-r--r--challenge/c07.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge/c07.go b/challenge/c07.go
index 5ceee26..bce898a 100644
--- a/challenge/c07.go
+++ b/challenge/c07.go
@@ -79,7 +79,7 @@ func C7() {
c := lib.Base64ToBytes(cipher07)
k := lib.StrToBytes(key07)
- o := lib.AESDecrypt(c, k)
+ o := lib.AESDecryptECB(c, k)
fmt.Printf("%v", lib.BytesToStr(o))
}