---
title: "Discussion on \"Go Cheatsheet - AES Encryption w/ CBC mode\" | Hashnode"
description: "Discussion on \"Go Cheatsheet - AES Encryption w/ CBC mode\". Encryption\nAES Encryption w/ CBC mode\npackage main\n\nimport (\n    \"bytes\"\n    \"crypto/aes\"\n    \"crypto/cipher\"\n    \"crypto/rand\"\n    \"encoding/base64\"\n    \"fmt\"\n)\n\n//lint:ignore U1000 might be used in the future\nfunc pad(raw []byte) []byte {\n    paddi..."
url: "https://hashnode.com/posts/go-cheatsheet-aes-encryption-with-cbc-mode/6080e6a7eb2bd30d2d22e5c7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Go Cheatsheet - AES Encryption w/ CBC mode](https://hn.0xbf.me/go-cheatsheet-aes-encryption-with-cbc-mode?utm_source=hashnode&utm_medium=feed)

Encryption AES Encryption w/ CBC mode package main import ( "bytes" "crypto/aes" "crypto/cipher" "crypto/rand" "encoding/base64" "fmt" ) //lint:ignore U1000 might be used in the future func pad(raw \[\]byte) \[\]byte { paddi...

Apr 22, 2021 · 1 min read · hn.0xbf.me  
Read the article

-   [#go](https://hashnode.com/tag/go)

## Written by

[0xBF](https://hashnode.com/@0xbf)

@0xbf

  
[View profile](https://hashnode.com/@0xbf)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
