diff options
author | rsiddharth <s@ricketyspace.net> | 2021-02-24 20:17:52 -0500 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2021-02-24 20:17:52 -0500 |
commit | 40781a94bcf7f3fadf6f8a0bb94b42bd11cab6e5 (patch) | |
tree | 3c95a9c3f7bd2ead5d244315631999013be064c4 /challenge/c10.go | |
parent | c35eb556136a35a5aa1f4e9371428a4c4cb7fdbd (diff) |
challenge: remove blank lines
Diffstat (limited to 'challenge/c10.go')
-rw-r--r-- | challenge/c10.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/challenge/c10.go b/challenge/c10.go index db44a75..f1e106f 100644 --- a/challenge/c10.go +++ b/challenge/c10.go @@ -82,15 +82,12 @@ kkIzWhQ5Rxd/vnM2QQr9Cxa2J9GXEV3kGDiZV90+PCDSVGY4VgF8y7GedI1h`) "f69f2445df4f9b17ad2b417be66c3710") key80038A := lib.HexStrToBytes("2b7e151628aed2a6abf7158809cf4f3c") iv80038A := lib.HexStrToBytes("000102030405060708090a0b0c0d0e0f") - cipher80038A := lib.AESEncryptCBC(plain80038A, key80038A, iv80038A) fmt.Printf("NIST SP 800-38A F.2.1 (has padding):\n%v\n", lib.PrettifyHexStr(lib.BytesToHexStr(cipher80038A))) - o, _ := lib.AESDecryptCBC(cipher80038A, key80038A, iv80038A) fmt.Printf("NIST SP 800-38A F.2.2:\n%v\n", lib.PrettifyHexStr(lib.BytesToHexStr(o))) - o, _ = lib.AESDecryptCBC(cipher, key, iv) fmt.Printf("Cryptopals Ch. 10:\n%v", lib.BytesToStr(o)) } |