This post discusses AES encryption in the Go programming language, covering key cipher modes such as Electronic Code Book (ECB) and Cipher Block Chain (CBC). It provides practical examples of how to use the `crypto/aes` package to encrypt and decrypt data. The author also introduces Galois Counter Mode (GCM) for added security through message integrity checks, and challenges readers to implement their own CLI tools for encryption and decryption.

8m read timeFrom bitfieldconsulting.com
Post cover image
Table of contents
Cipher modes: ECB and CBCEnciphering with AES-CBCWriting an encipher program using AESEncryption plus authenticationEnciphering with AES-GCMUpdating our CLI tools to use AES-GCM

Sort: