Symmetric encryption

Symmetric encryption is when the same key or password is used to encrypt and decrypt the data. Advanced Encryption Standard, also known as AES or Rijndael, is a symmetric encryption algorithm made standard by NIST in 2001.

Data Encryption Standard, or DES, is another symmetric encryption algorithm that is older and less secure than AES. It should not be used over AES unless there is a specific requirement or specification to do so. Go standard library includes AES and DES packages.

Get Security with Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.